1 
2 /*
3     xskat - a card game for 1 to 3 players.
4     Copyright (C) 2000  Gunter Gerhardt
5 
6     This program is free software; you can redistribute it freely.
7     Use it at your own risk; there is NO WARRANTY.
8 
9     Redistribution of modified versions is permitted
10     provided that the following conditions are met:
11     1. All copyright & permission notices are preserved.
12     2.a) Only changes required for packaging or porting are made.
13       or
14     2.b) It is clearly stated who last changed the program.
15          The program is renamed or
16          the version number is of the form x.y.z,
17          where x.y is the version of the original program
18          and z is an arbitrary suffix.
19 */
20 
21 #ifndef IRC_H
22 #define IRC_H
23 
24 #include <sys/types.h>
25 
26 #undef EXTERN
27 #ifdef IRC_C
28 #define EXTERN
29 #else
30 #define EXTERN extern
31 #endif
32 
33 #define IRC_NICK_LEN 30
34 
35 enum {
36   IRC_OFFLINE,
37   IRC_TALK,
38   IRC_SERVER,
39   IRC_PLAYING
40 };
41 
42 EXTERN pid_t irc_telnetpid;
43 EXTERN int irc_i,irc_o;
44 EXTERN int irc_state,irc_clients;
45 EXTERN int irc_play;
46 EXTERN int irc_2player,irc_pos;
47 EXTERN int irc_port;
48 EXTERN int irc_bell;
49 EXTERN int irc_logappend;
50 EXTERN int irc_histidx[3],irc_histcnt[3];
51 EXTERN int irc_inplen;
52 EXTERN long irc_tick;
53 EXTERN char *irc_telnet,*irc_host,*irc_channel;
54 EXTERN char *irc_nick,*irc_user,*irc_realname;
55 EXTERN char *irc_logfile;
56 EXTERN char *irc_history[3][100];
57 EXTERN char irc_substr[100];
58 EXTERN char irc_inpbuf[1024];
59 EXTERN struct {
60   char nick[IRC_NICK_LEN+1];
61   int sort1,alternate,large;
62   int nimmstich,pos,abkuerz;
63   char spnames[2][10];
64 } irc_conf[3];
65 EXTERN char irc_defaulthost[]
66 #ifdef IRC_C
67 =DEFAULT_IRC_SERVER
68 #endif
69 ;
70 #endif /* IRC_H */
71