jfiwejow
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user