#include <stdlib.h>#include <stdio.h>#include <string.h>#include <unistd.h>#include <errno.h>Namespaces | |
| namespace | AP |
| Architecture Platform. | |
Defines | |
| #define | AP_100KB (100*KB) |
| #define | AP_100MB (100*MB) |
| #define | AP_100ms 100 |
| #define | AP_10KB (10*KB) |
| #define | AP_10m 600000L |
| #define | AP_10MB (10*MB) |
| #define | AP_10ms 10 |
| #define | AP_10s 10000L |
| #define | AP_1GB (1*GB) |
| #define | AP_1h 3600000L |
| #define | AP_1KB (1*KB) |
| #define | AP_1m 60000L |
| #define | AP_1MB (1*MB) |
| #define | AP_1ms 1 |
| #define | AP_1s 1000 |
| #define | AP_DATA_SIZE 4096 |
| #define | AP_FOREVER 1 |
| #define | AP_NAME_SIZE 64 |
| #define | AP_TEXT_SIZE 256 |
| #define | AP_TMP_PATH "/var/tmp" |
| #define | GB (1000L*MB) |
| #define | KB 1000L |
| #define | MB (1000L*KB) |
| #define | PI 3.141592654 |
Typedefs | |
| typedef char * | AP_Args |
| typedef bool | AP_Bool |
| typedef char | AP_Byte |
| typedef float | AP_Float32 |
| typedef double | AP_Float64 |
| typedef int | AP_Int |
| typedef void * | AP_Pointer |
| typedef char | AP_Schar |
| typedef short | AP_Sint16 |
| typedef long | AP_Sint32 |
| typedef char | AP_Sint8 |
| typedef FILE * | AP_StdFile |
| typedef unsigned char | AP_Uchar |
| typedef unsigned short | AP_Uint16 |
| typedef unsigned long | AP_Uint32 |
| typedef unsigned char | AP_Uint8 |
| #define AP_100KB (100*KB) |
| #define AP_100MB (100*MB) |
| #define AP_100ms 100 |
| #define AP_10KB (10*KB) |
| #define AP_10m 600000L |
| #define AP_10MB (10*MB) |
| #define AP_10ms 10 |
| #define AP_10s 10000L |
| #define AP_1GB (1*GB) |
| #define AP_1h 3600000L |
| #define AP_1KB (1*KB) |
Size costants
| #define AP_1m 60000L |
| #define AP_1MB (1*MB) |
| #define AP_1ms 1 |
Time costants (msec)
| #define AP_1s 1000 |
| #define AP_DATA_SIZE 4096 |
| #define AP_FOREVER 1 |
Various
| #define AP_NAME_SIZE 64 |
Structures size
| #define AP_TEXT_SIZE 256 |
| #define AP_TMP_PATH "/var/tmp" |
Path costants
| #define GB (1000L*MB) |
| #define KB 1000L |
| #define MB (1000L*KB) |
| #define PI 3.141592654 |
Math costants
1.5.8