glovars.h File Reference
Detailed Description
HTTP embedded server library Copyright (C) 2006-2007 Olivier Singla
http://mihl.sourceforge.net/.
Definition in file glovars.h.
Go to the source code of this file.
|
Data Structures |
struct | migl_handle |
struct | mihl_ctx |
struct | mihl_cnx |
Defines |
#define | GLOBAL extern |
#define | INIT(X) |
#define | ERRNO errno |
#define | SOCKET_ERROR -1 |
#define | Sleep(X) sleep(X/1000) |
#define | closesocket close |
#define | O_BINARY 0 |
#define | STRNCPY(DST, SRC, LEN) |
#define | MIN(A, B) (((A)<(B))?(A):(B)) |
#define | FREE(pvar) |
Typedefs |
typedef struct migl_handle | mihl_handle_t |
Define Documentation
#define STRNCPY |
( |
DST, |
|
|
SRC, |
|
|
LEN |
|
) |
|
Value:
strncpy( DST, SRC, LEN-1 ); \
DST[LEN-1] = 0;
Definition at line 29 of file glovars.h.
Value:
if ( pvar ) { \
free( pvar ); \
pvar = NULL; \
}
Definition at line 73 of file glovars.h.