#include <gwenhywfar/misc.h>
Go to the source code of this file.
Typedefs | |
typedef struct LC_SERVER | LC_SERVER |
Enumerations | |
enum | LC_SERVER_STATUS { LC_ServerStatusUnconnected = 0, LC_ServerStatusWaitReady, LC_ServerStatusConnected, LC_ServerStatusAborted } |
Functions | |
GWEN_LIST_FUNCTION_DEFS (LC_SERVER, LC_Server) | |
LC_SERVER * | LC_Server_new (uint32_t nid) |
void | LC_Server_free (LC_SERVER *sv) |
uint32_t | LC_Server_GetCurrentCommand (const LC_SERVER *sv) |
void | LC_Server_SetCurrentCommand (LC_SERVER *sv, uint32_t rid) |
uint32_t | LC_Server_GetServerId (const LC_SERVER *sv) |
LC_SERVER_STATUS | LC_Server_GetStatus (const LC_SERVER *sv) |
void | LC_Server_SetStatus (LC_SERVER *sv, LC_SERVER_STATUS st) |
enum LC_SERVER_STATUS |
GWEN_LIST_FUNCTION_DEFS | ( | LC_SERVER | , | |
LC_Server | ||||
) |
LC_SERVER* LC_Server_new | ( | uint32_t | nid | ) |
void LC_Server_free | ( | LC_SERVER * | sv | ) |
uint32_t LC_Server_GetCurrentCommand | ( | const LC_SERVER * | sv | ) |
void LC_Server_SetCurrentCommand | ( | LC_SERVER * | sv, | |
uint32_t | rid | |||
) |
uint32_t LC_Server_GetServerId | ( | const LC_SERVER * | sv | ) |
LC_SERVER_STATUS LC_Server_GetStatus | ( | const LC_SERVER * | sv | ) |
void LC_Server_SetStatus | ( | LC_SERVER * | sv, | |
LC_SERVER_STATUS | st | |||
) |