5759905 [rkeene@sledge /home/rkeene/devel/backuppcd/all/backuppcd-200601171056]$ cat -n backuppcd-common.h
  1 #ifndef _RSK_BACKUPPCD_COMMON_H
  2 #define _RSK_BACKUPPCD_COMMON_H
  3 
  4 #include "compat.h"
  5 
  6 #ifdef HAVE_SYS_STAT_H
  7 #include <sys/stat.h>
  8 #endif
  9 #ifdef HAVE_FCNTL_H
 10 #include <fcntl.h>
 11 #endif
 12 #ifdef HAVE_STDINT_H
 13 #include <stdint.h>
 14 #endif
 15 #ifdef HAVE_INTTYPES_H
 16 #include <inttypes.h>
 17 #endif
 18 #ifdef HAVE_STDIO_H
 19 #include <stdio.h>
 20 #endif
 21 #ifdef HAVE_STDLIB_H
 22 #include <stdlib.h>
 23 #endif
 24 #ifdef HAVE_STRING_H
 25 #include <string.h>
 26 #endif
 27 #ifdef HAVE_STRINGS_H
 28 #include <strings.h>
 29 #endif
 30 #ifdef HAVE_SYS_TYPES_H
 31 #include <sys/types.h>
 32 #endif
 33 #ifdef HAVE_SIGNAL_H
 34 #include <signal.h>
 35 #endif
 36 #ifdef HAVE_SYS_SELECT_H
 37 #include <sys/select.h>
 38 #endif
 39 #ifdef HAVE_SYS_SOCKET_H
 40 #include <sys/socket.h>
 41 #endif
 42 #ifdef HAVE_UNISTD_H
 43 #include <unistd.h>
 44 #endif
 45 #ifdef HAVE_FCNTL_H
 46 #include <fcntl.h>
 47 #endif
 48 #ifdef HAVE_DIRENT_H
 49 #include <dirent.h>
 50 #endif
 51 #ifdef HAVE_CTYPE_H
 52 #include <ctype.h>
 53 #endif
 54 #ifdef HAVE_ASSERT_H
 55 #include <assert.h>
 56 #endif
 57 #ifdef HAVE_STDARG_H
 58 #include <stdarg.h>
 59 #endif
 60 #ifdef HAVE_NETINET_IN_H
 61 #include <netinet/in.h>
 62 #endif
 63 #ifdef HAVE_ARPA_INET_H
 64 #include <arpa/inet.h>
 65 #endif
 66 #ifdef HAVE_LIBCONFIG
 67 #include <libconfig.h>
 68 #endif
 69 #ifdef HAVE_LIBOPENNET
 70 #include <opennet.h>
 71 #endif
 72 #ifdef HAVE_SYSLOG_H
 73 #include <syslog.h>
 74 #endif
 75 #ifdef HAVE_UTIME_H
 76 #include <utime.h>
 77 #endif
 78 #ifdef HAVE_TIME_H
 79 #include <time.h>
 80 #else
 81 #ifdef HAVE_SYS_TIME_H
 82 #include <sys/time.h>
 83 #endif
 84 #endif
 85 
 86 #ifdef HAVE_LIBSSL
 87 #ifndef NO_SSL
 88 #if defined(HAVE_OPENSSL_SSL_H)
 89 #include <openssl/ssl.h>
 90 #elif defined(HAVE_SSL_SSL_H)
 91 #include <ssl/ssl.h>
 92 #elif defined(HAVE_SSL_H)
 93 #include <ssl.h>
 94 #else
 95 #define NO_SSL 1
 96 #endif
 97 #endif
 98 #else
 99 #define NO_SSL 1
100 #endif
101 
102 #ifndef NO_SSL
103 #define SSL 1
104 #else
105 #undef SSL
106 #endif
107 
108 #ifndef HAVE_LINK
109 #include "link.h"
110 #endif
111 #ifndef HAVE_CHOWN
112 #include "chown.h"
113 #endif
114 
115 #ifndef HAVE_FNMATCH
116 #include "fnmatch.h"
117 #else
118 #ifdef HAVE_FNMATCH_H
119 #include <fnmatch.h>
120 #endif
121 #endif
122 
123 #ifndef BPC_TCP_PORT
124 #define BPC_TCP_PORT 874
125 #endif
126 
127 int backuppc_mkdir(const char *dir);
128 
129 #endif
5759906 [rkeene@sledge /home/rkeene/devel/backuppcd/all/backuppcd-200601171056]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2005-08-25 08:23:02