my_teams
|
Functions | |
bool | as_team (const s_server_t *server, const char *team_uuid) |
Check if a team with a UUID exists. More... | |
bool | as_channel (const s_server_t *server, const char *channel_uuid) |
Check if a channel with a UUID exists. More... | |
bool | as_thread (const s_server_t *server, const char *thread_uuid) |
Check if a thread with a UUID exists. More... | |
bool | as_user (const s_server_t *server, const char *user_uuid) |
Check if a user with a UUID exists. More... | |
bool | check_uuid (const s_server_t *server, const int fd, char **uuid, const uint16_t type) |
Check if a UUID is allocated. More... | |
bool as_channel | ( | const s_server_t * | server, |
const char * | channel_uuid | ||
) |
Check if a channel with a UUID exists.
server | The server |
channel_uuid | The channel UUID |
bool as_team | ( | const s_server_t * | server, |
const char * | team_uuid | ||
) |
Check if a team with a UUID exists.
server | The server |
team_uuid | The team UUID |
bool as_thread | ( | const s_server_t * | server, |
const char * | thread_uuid | ||
) |
Check if a thread with a UUID exists.
server | The server |
thread_uuid | The thread UUID |
bool as_user | ( | const s_server_t * | server, |
const char * | user_uuid | ||
) |
Check if a user with a UUID exists.
server | The server |
user_uuid | The user UUID |
bool check_uuid | ( | const s_server_t * | server, |
int | fd, | ||
char ** | uuid, | ||
uint16_t | type | ||
) |
Check if a UUID is allocated.
server | The server |
fd | The client file descriptor |
uuid | The UUID |
type | The packet type |