zenilib
0.5.3.0
|
Go to the source code of this file.
Functions | |
const char *SDLCALL | SDLNet_GetError (void) |
int | SDLNet_GetLastError (void) |
int | SDLNet_GetLocalAddresses (IPaddress *addresses, int maxcount) |
int | SDLNet_Init (void) |
const SDLNet_version * | SDLNet_Linked_Version (void) |
void | SDLNet_Quit (void) |
DECLSPEC Uint16 SDLCALL | SDLNet_Read16 (void *area) |
DECLSPEC Uint32 SDLCALL | SDLNet_Read32 (const void *area) |
int | SDLNet_ResolveHost (IPaddress *address, const char *host, Uint16 port) |
const char * | SDLNet_ResolveIP (const IPaddress *ip) |
void SDLCALL | SDLNet_SetError (const char *fmt,...) |
void | SDLNet_SetLastError (int err) |
DECLSPEC void SDLCALL | SDLNet_Write16 (Uint16 value, void *area) |
DECLSPEC void SDLCALL | SDLNet_Write32 (Uint32 value, void *area) |
Variables | |
static char | errorbuf [1024] |
static int | SDLNet_started = 0 |
Definition at line 76 of file SDLnet.c.
References errorbuf, and SDL_GetError().
Referenced by main(), and print_errors().
Definition at line 51 of file SDLnet.c.
Referenced by SDLNet_CheckSockets(), SDLNet_TCP_Recv(), SDLNet_TCP_Send(), and SocketReady().
Definition at line 187 of file SDLnet.c.
References closesocket, DWORD(), free, IPaddress::host, INVALID_SOCKET, malloc, NULL, IPaddress::port, realloc, sock, and SOCKET.
Referenced by main().
Definition at line 86 of file SDLnet.c.
References int, SDLNet_SetError(), and SDLNet_started.
Referenced by main().
const SDLNet_version* SDLNet_Linked_Version | ( | void | ) |
Definition at line 33 of file SDLnet.c.
References SDL_NET_VERSION.
Definition at line 110 of file SDLnet.c.
References int, SDLNet_started, and SOCKET_ERROR.
Referenced by cleanup().
Definition at line 287 of file SDLnet.c.
References SDL_SwapBE16.
Definition at line 292 of file SDLnet.c.
References SDL_SwapBE32.
Definition at line 138 of file SDLnet.c.
References IPaddress::host, INADDR_ANY, INADDR_NONE, memcpy, NULL, IPaddress::port, and SDLNet_Read16.
Referenced by main(), and Zeni::Net::resolve_host().
Definition at line 173 of file SDLnet.c.
References IPaddress::host, and NULL.
Referenced by main(), and Zeni::Net::reverse_lookup().
Definition at line 65 of file SDLnet.c.
References errorbuf, SDL_SetError(), and SDL_vsnprintf().
Referenced by SDLNet_AddSocket(), SDLNet_AllocPacket(), SDLNet_AllocPacketV(), SDLNet_DelSocket(), SDLNet_Init(), SDLNet_TCP_Accept(), SDLNet_TCP_Open(), SDLNet_TCP_Recv(), SDLNet_TCP_Send(), SDLNet_UDP_Bind(), SDLNet_UDP_Open(), SDLNet_UDP_SendV(), and ValidChannel().
Definition at line 56 of file SDLnet.c.
Referenced by SDLNet_CheckSockets(), SDLNet_TCP_Recv(), SDLNet_TCP_Send(), and SocketReady().
Definition at line 277 of file SDLnet.c.
References SDL_SwapBE16.
Definition at line 282 of file SDLnet.c.
References SDL_SwapBE32.
|
static |
Definition at line 63 of file SDLnet.c.
Referenced by SDLNet_GetError(), and SDLNet_SetError().
|
static |
Definition at line 43 of file SDLnet.c.
Referenced by SDLNet_Init(), and SDLNet_Quit().