This commit is contained in:
2025-04-29 10:40:35 +02:00
parent b9a4b77a40
commit 039a9e4770
+12
View File
@@ -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); 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 addTimeEvent(node_t *_person);
int removePersonFromList(node_t **_head, node_t **_person);
#endif #endif