home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 024 / psi110g.zip / USERS.H < prev    next >
C/C++ Source or Header  |  1994-08-26  |  10KB  |  285 lines

  1. #ifndef _CONFIG_H
  2. #define _CONFIG_H
  3. /* This is one possible configuration for an end user */
  4.   
  5. /* NOTE: only the below listed config files have been tested.
  6.  * Due to the virtually unlimited number of combinations of options
  7.  * in config.h, it is impossible to test each possible variation!
  8.  * Others may or may not compile and link without errors !
  9.  * Effort has been made to provide a clean set of #defines throughout
  10.  * the source to produce a good compile, but no garuantees are made.
  11.  * Your milage may vary!!!
  12.  * tested are: distconf.h, gwconfig.h, bbsconf.h, users.h homeslip.h
  13.  */
  14.   
  15.   
  16. /* Software options */
  17.   
  18. #undef CONVERS     1   /* Conference bridge (babble-box :-) */
  19. /* Use only ONE of the 2 news options below !!! */
  20. #undef NNTP        1   /* Netnews client */
  21. #undef NNTPS       1   /* Netnews client and server */
  22. #define STKTRACE   1   /* Include stack tracing code */
  23. #define TRACE       1   /* Include packet tracing code */
  24. #undef DIALER      1   /* SLIP redial code */
  25. #undef POP2CLIENT  1   /* POP2 client -- IAB not recommended */
  26. #define POP3CLIENT  1   /* POP3 client -- IAB draft standard */
  27. #undef ESCAPE      1   /* Allow Unix style escape on PC */
  28. #define ATCMD       1   /* Include timed 'at' execution */
  29. #undef NR4TDISC    1   /* Include Netrom L4 timeout-disconnect */
  30. #undef XMODEM      1   /* xmodem file xfer for tipmail  */
  31. #undef IPACCESS    1   /* Include IP access control code */
  32. #undef TCPACCESS   1   /* Include TCP access control code */
  33. #undef ENCAP       1   /* Include IP encapsulation code */
  34. #undef AUTOROUTE   1   /* Include AX.25 IP auto-route code(causes problems when VC mode is used for ip) */
  35. #undef HOPPER      1   /* Include SMTP hopper code by G8FSL */
  36. #define LOCK        1   /* Include keyboard locking */
  37. #define TTYCALL     1   /* Include AX.25 ttylink call */
  38. #define MONITOR     1   /* Include user-port monitor trace mode */
  39. #define MULTITASK   1   /* Include Dos shell multi-tasker */
  40. #define SHELL       1   /* Include shell command */
  41. #undef SWATCH      1   /* stopWATCH code */
  42. #define ALLCMD     1    /* include dump,finger,fkey,info,mail,motd,more,status,
  43.                          * record,watch,upload commands */
  44. #undef DOSCMD      1   /* Include del,ren,cd,dir,mkdir,pwd,rmdir commands */
  45.   
  46. #define SPLITSCREEN     1
  47. #define STATUSWIN       1   /* Up to 3 line status window */
  48.   
  49. /* Protocol options */
  50.   
  51. #define AX25        1   /* Ax.25 support */
  52. #undef NETROM      1   /* NET/ROM network support */
  53. #undef NRS         1   /* NET/ROM async interface */
  54. #undef RIP         1   /* Include RIP routing */
  55. #undef LZW         1   /* LZW-compressed sockets */
  56. #undef SLIP        1   /* Serial line IP on built-in ports */
  57. #undef PPP         1   /* Point-to-Point Protocol code */
  58. #undef VJCOMPRESS  1   /* Van Jacobson TCP compression for SLIP */
  59. #undef RDATE       1   /* Include the Time Protocol */
  60. #undef RSPF        1   /* Include Radio Shortest Path First Protocol */
  61. #undef AXIP        1   /* digipeater via ip port 93 interface */
  62. #undef RARP        1   /* Include Reverse Address Resolution Protocol */
  63. #undef BOOTP       1   /* Include BootP protocol */
  64.   
  65.   
  66. /* Network services */
  67.   
  68. #define SERVERS         1   /* Include TCP servers */
  69. #define AX25SERVER       1   /* Ax.25 server */
  70. #undef NETROMSERVER     1   /* Net/rom server */
  71. #define TELNETSERVER     1   /* Tcp telnet server */
  72. #undef RLOGINSERVER     1   /* Tcp rlogin server */
  73. #define TTYLINKSERVER    1   /* Tcp ttylink server */
  74. #define SMTPSERVER       1   /* Tcp smtp server */
  75. #define FTPSERVER        1   /* Tcp ftp server */
  76. #define FINGERSERVER     1   /* Tcp finger server */
  77. #undef POP2SERVER       1   /* POP2 server -- IAB not recommended */
  78. #undef POP3SERVER      1   /* POP3 server -- IAB draft standard */
  79. #define REMOTESERVER     1   /* Udp remote server */
  80. #undef ECHOSERVER       1   /* Tcp echo server */
  81. #undef DISCARDSERVER    1   /* Tcp discard server */
  82. #undef TIPSERVER        1   /* Serial port tip server */
  83. #undef DOMAINSERVER    1   /* Udp Domain Name Server */
  84. #undef CALLSERVER       1   /* Include BuckMaster CDROM server support */
  85. #undef ICALL            1   /* Buckmaster's international callsign database April '92 */
  86. #define SAMCALLB         1   /* SAM callbook server. Note that you can NOT have */
  87.                             /* BOTH Buckmaster and SAM defined.If so, SAM is used */
  88. #undef QRZCALLB         1   /* QRZ callbook server. Note that you can NOT have */
  89.                              /* BOTH Buckmaster and QRZ defined.If so, QRZ is used */
  90.   
  91. /* Outgoing Sessions */
  92.   
  93. #define SESSIONS        1
  94. #define CALLCLI          1   /* Include BuckMaster or SAM client code only  */
  95. #define AX25SESSION      1
  96. #undef NETROMSESSION    1
  97. #define TELNETSESSION    1
  98. #define TTYLINKSESSION   1
  99. #define BBSSESSION      1
  100. #define FTPSESSION       1
  101. #define FINGERSESSION    1
  102. #define PINGSESSION      1
  103. #undef HOPCHECKSESSION  1   /* IP path tracing command */
  104. #undef RLOGINSESSION    1   /* Rlogin client code */
  105. #undef TIPSESSION       1
  106. #undef DIRSESSION       1
  107. #define MORESESSION      1
  108. #undef REPEATSESSION   1
  109. #define LOOKSESSION     1   /* follow user activity on the bbs */
  110.   
  111. /* Mailbox options */
  112.   
  113. #define MAILBOX     1   /* Include SM0RGV mailbox server */
  114. #define MAILCMDS    1   /* Include mail commands, S, R, V etc */
  115. #define FILECMDS    1   /* Include D,U,W,Z commands */
  116. #undef GATECMDS    1   /* Include gateway releated commands C,E,N,NR,P,PI,T */
  117. #undef GWTRACE     1   /* Log all gateway connects to the logfile */
  118. #define FOQ_CMDS    1   /* Include Finger, Operator, Query
  119.                          * If GATECMDS and FOQ_CMDS are both undefined,
  120.                          * extra code is saved! */
  121. #define EXPIRY      1   /* Include message and bid expiry */
  122. #undef MAILFOR     1   /* Include Mailbox 'Mail for' beacon */
  123. #undef RLINE       1   /* Include BBS R:-line interpretation code */
  124. #undef MBFWD       1   /* Include Mailbox AX.25 forwarding */
  125. #undef FWDCTLZ     1    /* Use a CTRL-Z instead of /EX to end message forwarding */
  126. #define USERLOG     1   /* Include last-msg-read,prompt-type user tracking */
  127. #undef REGISTER    1   /* Include User Registration option */
  128. #define MAILERROR   1   /* Include Mail-on-error option */
  129.   
  130.   
  131. /* Memory options */
  132.   
  133. #define EMS         1   /* Include Expanded Memory Usage */
  134.  /* DO NOT define the following, it doesn't work yet !!! */
  135. #undef XMS         1   /* Include Extended Memory Usage */
  136.   
  137.   
  138. /* Software tuning parameters */
  139.   
  140. #define MTHRESH     16384    /* Default memory threshold */
  141. #define NROWS       25      /* Number of rows on screen */
  142. #define NIBUFS      5       /* Number of interrupt buffers */
  143. #define IBUFSIZE    2048    /* Size of interrupt buffers */
  144. #define NSESSIONS   10      /* Number of interactive clients */
  145.   
  146.   
  147. /* Hardware driver options */
  148.   
  149. #define ASY         1   /* Asynch driver code */
  150. #define KISS        1   /* Multidrop KISS TNC code for Multiport tnc */
  151. #undef POLLEDKISS  1   /* G8BPQ Polled Multidrop KISS TNC code */
  152. #undef PACKET      1   /* FTP Software's Packet Driver interface */
  153. #define SCC         1   /* PE1CHL generic scc driver */
  154. #undef BPQ         1   /* include Bpqhost interface */
  155. #undef PACKETWIN   1   /* Gracilis PackeTwin driver */
  156. #undef PI          1   /* VE3IFB pi dma card scc driver */
  157. #undef ARCNET      1   /* ARCnet via PACKET driver */
  158. #undef PC_EC       1   /* 3-Com 3C501 Ethernet controller */
  159. #undef HS          1   /* High speed (56kbps) modem driver */
  160. #undef HAPN        1   /* Hamilton Area Packet Network driver code */
  161. #undef EAGLE       1   /* Eagle card driver */
  162. #undef PC100       1   /* PAC-COM PC-100 driver code */
  163. #undef APPLETALK   1   /* Appletalk interface (Macintosh) */
  164. #undef DRSI        1   /* DRSI PCPA slow-speed driver */
  165. #undef SLFP         1   /* SLFP packet driver class supported */
  166. #define PRINTEROK   1   /* OK to name a printer as an output device */
  167.   
  168.   
  169. /***************************************************************************/
  170. /* This section corrects some defines that include/exclude others          */
  171.   
  172. #ifdef STATUSWIN
  173. #define SPLITSCREEN 1
  174. #endif
  175.   
  176. #ifdef DIRSESSION
  177. #undef MORESESSION
  178. #define MORESESSION 1
  179. #endif
  180.   
  181. #if defined(NRS)
  182. #undef  NETROM
  183. #define NETROM      1   /* NRS implies NETROM */
  184. #endif
  185.   
  186. #if defined(ARCNET) || defined(SLFP)
  187. #undef  PACKET
  188. #define PACKET      1   /* FTP Software's Packet Driver interface */
  189. #endif
  190.   
  191. #if defined(PC_EC) || defined(PACKET)
  192. #define ETHER   1       /* Generic Ethernet code */
  193. #endif
  194.   
  195. #if defined(SAMCALLB)
  196. #define CALLCLI 1
  197. #undef CALLSERVER 1
  198. #undef QRZCALLB 1
  199. #endif
  200.   
  201. #if defined(QRZCALLB)
  202. #define CALLCLI 1
  203. #undef CALLSERVER 1
  204. #undef SAMCALLB   1
  205. #endif
  206.   
  207. #if defined(CALLSERVER)
  208. #define CALLCLI     1
  209. #endif
  210.   
  211. #if defined(POP2CLIENT) || defined(POP3CLIENT)
  212. #define MAILCLIENT  1
  213. #endif
  214.   
  215. #ifdef POLLEDKISS
  216. #define KISS 1
  217. #endif
  218.   
  219. #ifndef MAILBOX
  220. #undef MAILCMDS 1
  221. #undef FILECMDS 1
  222. #undef GATECMDS 1
  223. #undef FOQ_CMDS 1
  224. #undef CALLBOOK 1
  225. #undef CALLCLI 1
  226. #undef EXPIRY 1
  227. #undef MBXTDISC 1
  228. #undef TIPSERVER 1
  229. #undef MAILFOR 1
  230. #undef RLINE 1
  231. #undef MBFWD 1
  232. #undef USERLOG 1
  233. #endif
  234.   
  235. #ifndef MAILCMDS
  236. #undef MAILFOR 1
  237. #undef RLINE 1
  238. #undef MBFWD 1
  239. #endif
  240.   
  241. #ifndef TIPSERVER
  242. #undef XMODEM 1
  243. #endif
  244.   
  245. #ifndef AX25
  246. #undef AX25SESSION 1
  247. #undef AX25SERVER 1
  248. #undef MAILFOR 1
  249. #undef RLINE 1
  250. #undef MBFWD 1
  251. #undef NRS 1
  252. #undef NETROM 1
  253. #undef NETROMSESSION 1
  254. #undef NETROMSERVER 1
  255. #undef AXIP 1
  256. #undef NR4TDISC 1
  257. #undef TTYCALL 1
  258. #undef BPQ 1
  259. #undef EAGLE 1
  260. #undef SCC 1
  261. #undef KISS 1
  262. #undef POLLEDKISS 1
  263. #undef HAPN 1
  264. #undef PI 1
  265. #undef PC100 1
  266. #undef HS 1
  267. #undef AXIP 1
  268. #endif
  269.   
  270. #ifndef NETROM
  271. #undef NETROMSESSION 1
  272. #undef NETROMSERVER 1
  273. #endif
  274.   
  275. #ifndef SMTPSERVER
  276. #undef MAILCMDS 1
  277. #undef MBFWD 1
  278. #undef MAILFOR 1
  279. #undef RLINE 1
  280.   
  281. #endif
  282.   
  283.   
  284. #endif  /* _CONFIG_H */
  285.