my_teams
client.h File Reference
#include "protocol.h"
#include "events_structures.h"
#include <sys/queue.h>
#include <sys/types.h>
#include <uuid/uuid.h>
Include dependency graph for client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  queue_node
 
struct  context_t
 
struct  c_client_t
 

Typedefs

typedef struct queue_node queue_node_t
 
typedef struct queue_head queue_head_t
 

Functions

 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) More...
 
void client_logger (const p_packet_t *payload, c_client_t *client)
 logs the client More...
 
char ** get_args_from_input (const char *input)
 process client input as arguments More...
 

Typedef Documentation

◆ queue_head_t

typedef struct queue_head queue_head_t

◆ queue_node_t

typedef struct queue_node queue_node_t

Function Documentation

◆ client()

int client ( int  ac,
char **  av 
)

main function for the client is only used by main (is returned by the main function)

Parameters
ac
av
Returns
int
Here is the call graph for this function:

◆ client_logger()

void client_logger ( const p_packet_t payload,
c_client_t client 
)

logs the client

Parameters
payload

◆ get_args_from_input()

char** get_args_from_input ( const char *  input)

process client input as arguments

Returns
char**

◆ TAILQ_HEAD()

TAILQ_HEAD ( queue_head  ,
queue_node   
)