diff --git a/include/users.h b/include/users.h index 204a0f1..56f76b9 100644 --- a/include/users.h +++ b/include/users.h @@ -98,6 +98,18 @@ node_t *searchPersonByUUID(node_t *_head, uint16_t _uuid); */ int addPersonToList(node_t **_head, char *_name, char *_surname, uint32_t _department); +/** + * @brief Adds a time event to the specified person's event list. + * + * This function associates a time-based event with the given person node. + * + * @param _person A pointer to the node_t structure representing the person + * to whom the time event will be added. + * + * @return An integer indicating the success or failure of the operation. + * Typically, 1 for success and a 0 for failure. + */ int addTimeEvent(node_t *_person); +int removePersonFromList(node_t **_head, node_t **_person); #endif \ No newline at end of file