/Volumes/Plantain/MyDocuments/Projects/MacTrek/MacTrek/Design Stuff/COW/cowapi.h

00001 /* cowapi.h    -- The COW Aplication interface */
00002 
00003 /* Copyright (c) 1996   Kurt Siegl
00004  * 
00005  * Permission to use, copy, modify, and distribute this software and its
00006  * documentation for any purpose and without fee is hereby granted, provided
00007  * that the above copyright notice appear in all copies and that both that
00008  * copyright notice and this permission notice appear in supporting
00009  * documentation.  No representations are made about the suitability of this
00010  * software for any purpose.  It is provided "as is" without express or
00011  * implied warranty.
00012  *
00013  * The COW development team
00014  *
00015  * $Log: cowapi.h,v $
00016  * Revision 1.5  2001/04/28 04:03:56  quozl
00017  * change -U to also adopt a local port number for TCP mode.
00018  *              -- Benjamin `Quisar' Lerman  <quisar@quisar.ambre.net>
00019  *
00020  * Revision 1.4  2000/05/19 14:24:52  jeffno
00021  * Improvements to playback.
00022  * - Can jump to any point in recording.
00023  * - Can lock on to cloaked players.
00024  * - Tactical/galactic repaint when paused.
00025  * - Can lock on to different players when recording paused.
00026  *
00027  * Revision 1.3  1999/08/20 18:32:45  siegl
00028  * WindowMaker Docking support
00029  *
00030  * Revision 1.2  1999/08/05 16:46:32  siegl
00031  * remove several defines (BRMH, RABBITEARS, NEWDASHBOARD2)
00032  *
00033  * Revision 1.1.1.1  1998/11/01 17:24:09  siegl
00034  * COW 3.0 initial revision
00035  * */
00036 
00037 #ifndef _h_cowapi
00038 #define _h_cowapi
00039 
00040 /* COW mainloop - starts up a client window */
00041 
00042 extern int cowmain(char *server, int port, char *name);
00043 
00044 #ifdef RECORDGAME
00045 /* COW mainloop - starts up a client window */
00046 extern int pbmain(char *name);
00047 #endif
00048 
00049 /* Variables passing Optional Arguments to cowmain */
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 /* Global COW Variables which may be set and/or used outside */
00065 
00066 /* Version Information */
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 /* _h_cow */
00120 
00121 
00122 
00123 
00124 

Generated on Fri Jul 28 19:15:17 2006 for MacTrek by  doxygen 1.4.7