14 #include <sys/queue.h>
15 #include <sys/types.h>
16 #include <uuid/uuid.h>
46 int client(
int ac,
char **av);
TAILQ_HEAD(queue_head, queue_node)
int client(int ac, char **av)
main function for the client is only used by main (is returned by the main function)
Definition: client.c:176
struct queue_head queue_head_t
Definition: client.h:24
char ** get_args_from_input(const char *input)
process client input as arguments
Definition: get_args.c:30
struct queue_node queue_node_t
void client_logger(const p_packet_t *payload, c_client_t *client)
logs the client
Definition: logger.c:10
#define UUID_LENGTH
Definition: events_structures.h:11
context_t context
Definition: client.h:35
p_client_t * p_client
Definition: client.h:33
user_t user
Definition: client.h:34
Represents a client with socket file descriptor and network data.
Definition: protocol.h:51
Represents a packet with type and data.
Definition: protocol.h:31
TAILQ_ENTRY(queue_node) entries
p_packet_t * packet
Definition: client.h:19
Definition: events_structures.h:25