]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zephyr/zwgc/main.h
r4264@bucket (orig r254): kcr | 2008-01-20 22:11:44 -0500
[1ts-debian.git] / zephyr / zwgc / main.h
1 /* This file is part of the Project Athena Zephyr Notification System.
2  * It is one of the source files comprising zwgc, the Zephyr WindowGram
3  * client.
4  *
5  *      Created by:     Marc Horowitz <marc@athena.mit.edu>
6  *
7  *      $Id$
8  *
9  *      Copyright (c) 1989 by the Massachusetts Institute of Technology.
10  *      For copying and distribution information, see the file
11  *      "mit-copyright.h".
12  */
13
14
15 #include <zephyr/mit-copyright.h>
16
17 #ifndef main_MODULE
18 #define main_MODULE
19
20 #ifdef HAVE_ARES
21 #include <ares.h>
22
23 extern ares_channel achannel;
24 #endif
25
26 extern char *progname;
27 extern char *subscriptions_filename_override;
28 extern char *location_override;
29
30 /*
31  *    void usage()
32  *        Effects: Prints out a usage message on stderr then exits the
33  *                 program with error code 1.
34  */
35
36 extern void usage(void);
37
38 /* USRDESC points to a file (relative to user's homedir) which has a user's
39    description file */
40
41 #define USRDESC ".zwgc.desc"
42
43 /* DEFDESC points to a file (relative to the data directory) which has the
44  * system default description file */
45
46 #ifndef DEFDESC
47 #define DEFDESC "zwgc.desc"
48 #endif
49
50 #endif