From 039a9e47702acc73ad099944933f1b2770aed3bb Mon Sep 17 00:00:00 2001 From: "DLABAL, Eduard" Date: Tue, 29 Apr 2025 10:40:35 +0200 Subject: [PATCH] jfiwejow --- include/users.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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