00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef _h_cowapi
00038 #define _h_cowapi
00039
00040
00041
00042 extern int cowmain(char *server, int port, char *name);
00043
00044 #ifdef RECORDGAME
00045
00046 extern int pbmain(char *name);
00047 #endif
00048
00049
00050
00051 extern char *deffile;
00052 extern char *recordFileName;
00053 extern int pb_create_index;
00054 extern char *logFileName;
00055 extern char *display_host;
00056 extern int passive;
00057 extern int checking;
00058 extern char *deffile;
00059
00060 #ifdef META
00061 extern int usemeta;
00062 #endif
00063
00064
00065
00066
00067 extern char cflags[], arch[], cdate[], cbugs[], cowid[], cwho[];
00068 extern struct timeval tv_ctime;
00069
00070 #ifndef PSEUDOSIZE
00071 #define PSEUDOSIZE 16
00072 #endif
00073 extern char pseudo[PSEUDOSIZE];
00074 extern char defpasswd[PSEUDOSIZE];
00075 extern char login[PSEUDOSIZE];
00076
00077 extern int baseLocalPort;
00078 extern int log_packets;
00079
00080 extern int ghoststart;
00081 extern int ghost_pno;
00082 extern int debug;
00083 extern int ignore_signals;
00084
00085 extern char *title;
00086
00087 #ifndef WIN32
00088 extern int takeNearest;
00089 #endif
00090
00091 #ifdef GATEWAY
00092 extern int use_trekhopd;
00093 extern unsigned LONG netaddr;
00094 #endif
00095
00096 #ifdef RSA
00097 extern int RSA_Client;
00098 extern char key_name[];
00099 extern char client_type[];
00100 extern char client_arch[];
00101 extern char client_creator[];
00102 extern char client_comments[];
00103 extern char client_key_date[];
00104
00105 #endif
00106
00107 #ifdef TOOLS
00108 extern char *wwwlink;
00109 extern char *upgradeURL;
00110 extern char *releaseURL;
00111 extern char *bugURL;
00112 #endif
00113
00114 #ifdef WINDOWMAKER
00115 extern char **wm_argv;
00116 extern int wm_argc;
00117 #endif
00118
00119 #endif
00120
00121
00122
00123
00124