source: trunk/instant_messenger/socket/BKP_20071105/BKP_20071026/BKP_20071019/BKP_20071018/BKP_20071009/BKP_20071008/BKP/BOOK/config.h @ 151

Revision 151, 2.1 KB checked in by niltonneto, 16 years ago (diff)

Commit da nova versão do módulo, usando agente em C.
Vide Página do módulo do Trac:
http://www.expressolivre.org/dev/wiki/messenger

A versão anterior encontra-se na subpasta bkp (32/64).

Line 
1#define HAVE_PTHREAD_H          1               /* <pthread.h> */
2#define HAVE_STRINGS_H          1               /* <strings.h> */
3
4//#define HAVE_SYS_FILIO_H      1               /* <sys/filio.h> */
5#define HAVE_SYS_IOCTL_H        1               /* <sys/ioctl.h> */
6#define HAVE_SYS_SELECT_H       1               /* <sys/select.h> */
7//#define HAVE_SYS_SOCKIO_H     1               /* <sys/sockio.h> */
8#define HAVE_SYS_SYSCTL_H       1               /* <sys/sysctl.h> */
9#define HAVE_SYS_TIME_H         1               /* <sys/time.h> */
10
11/* Define if we can include <time.h> with <sys/time.h> */
12#define TIME_WITH_SYS_TIME      1
13
14/* Define the following if the function is provided */
15#define HAVE_BZERO                      1
16#define HAVE_GETHOSTBYNAME      1
17#define HAVE_VSNPRINTF          1
18
19/* Define the following if the function prototype is in a header */
20#define HAVE_GETHOSTNAME_PROTO  1       /* <unistd.h> */
21#define HAVE_GETRUSAGE_PROTO    1       /* <sys/resource.h> */
22#define HAVE_HSTRERROR_PROTO    1       /* <netdb.h> */
23#define HAVE_INET_ATON_PROTO    1       /* <arpa/inet.h> */
24#define HAVE_INET_PTON_PROTO    1       /* <arpa/inet.h> */
25#define HAVE_SNPRINTF_PROTO             1       /* <stdio.h> */
26
27/* Define the following if the strutured is defined */
28#define HAVE_SOCKADDR_DL_STRUCT 1       /* <.h> */
29#define HAVE_TIMESPEC_STRUCT    1       /* <.h> */
30
31/* Define the following if the feature is defined */
32#define HAVE_SOCKADDR_SA_LEN    1       /* sockadr{} has sa_len */
33#define HAVE_MSGHDR_MSG_CONTROL 1       /* msghdr{} has msg_control member */
34
35/* Define the following to the appropriate datatype, if necessary */
36//#define uint8_t       unsigned char           /* <sys/type.h> */
37//#define uint16_t      unsigned short          /* <sys/type.h> */
38//#define uint32_t      unsigned int            /* <sys/type.h> */
39
40/* socklen_t should be typedef'd as uint32_t, but configure defines
41 * it to be an unsigned int, as it is needed early in the compile
42 * process, sometimes before some implementations define uint32_t. */
43//#define socklen_t     unsigned int    /* <sys/socket.h> */
44//#define sa_family_t   SA_FAMILY_T             /* <sys/socket.h> */
45//#define SA_FAMILY_T   uint8_t
46
47/* Define the following, if system suports the feature */
48#define IPV4            1       /* IPv4, uppercase V name */
49#define IPv4            1       /* IPv4, lowercase V name */
50#define UNIXDOMAIN      1       /* Unix domain sockets */
51#define UNIXdomain      1       /* Unix domain sockets */
52#define MCAST           1       /* multicasting support */
Note: See TracBrowser for help on using the repository browser.