pd.h

Go to the documentation of this file.
00001 
00037 #ifndef PD_H
00038 #define PD_H
00039 
00040 #include "nsextmsg.h"
00041 #include "nspd.h"
00042 
00043 #include <stdio.h>
00044 #include <stdlib.h>
00045 #include <stdarg.h>
00046 #include <assert.h>
00047 #include <string.h>
00048 #include <errno.h>
00049 #include <fcntl.h>
00050 
00051 #include <unistd.h>
00052 #define SOCKET          int
00053 #define INVALID_SOCKET  (-1)
00054 #define socket_errno    errno
00055 #include <sys/time.h>
00056 #include <sys/types.h>
00057 #include <sys/socket.h>
00058 #include <sys/ioctl.h>
00059 #include <netinet/in.h>
00060 #include <arpa/inet.h>
00061 #include <netdb.h>
00062 #include <sys/wait.h>
00063 
00064 #include <syslog.h>
00065 
00066 extern void     PdExit(int code);
00067 extern void     PdTraceOn(char *file);
00068 extern void     PdTraceOff(void);
00069 extern void     OpenLog(void);
00070 extern void     CloseLog(void);
00071 extern void     PdMainLoop(void);
00072 extern void     PdListen(int port);
00073 extern char    *pdBin;
00074 
00075 extern void     Ns_FatalErrno(char *func);
00076 extern void     Ns_FatalSock(char *func);
00077 extern void     Ns_PdExit(int code);
00078 
00079 
00080 #endif                                  

Generated on Tue Sep 4 19:58:55 2007 by  doxygen 1.5.1