source: trunk/athena/bin/discuss/include/globals.h @ 12439

Revision 12439, 1.7 KB checked in by kcr, 26 years ago (diff)
Autoconfiscation and cleanup.
Line 
1/*
2 *
3 *      Copyright (C) 1988, 1989 by the Massachusetts Institute of Technology
4 *      Developed by the MIT Student Information Processing Board (SIPB).
5 *      For copying information, see the file mit-copyright.h in this release.
6 *
7 */
8/*
9 *      $Id: globals.h,v 1.21 1999-02-02 20:40:19 kcr Exp $
10 *
11 *      Declarations of global variables for discuss.
12 */
13
14#include <discuss/dsname.h>
15#include "discuss_err.h"
16
17/* Typedefs */
18
19typedef struct _sle {
20        int low;
21        int high;
22        int flags;
23        struct _sle *next;
24} selection_list;
25
26/* selection flags */
27#define flag_AREF               8
28
29/* filtering flags */
30#define filter_INCLUDE_DELETED 1
31#define filter_ONLY_DELETED    2
32#define filter_ONLY_INITIAL    4
33#define filter_ONLY_TERMINAL   16
34#define filter_FLAG_SET        32
35#define filter_FLAG_RESET      64
36
37struct _dsc_pub {
38     trn_nums current;
39     trn_nums highest_seen;
40     bool attending;
41     char *host;
42     char *path;
43     char *mtg_name;                            /* meeting name (user) */
44     name_blk nb;
45     mtg_info m_info;
46};
47
48/* Variables */
49
50extern struct _dsc_pub dsc_public;
51extern char     dsc_version[];
52extern char     *buffer;
53extern int      *chosen_trn_map; /* which trns we want to see */
54extern int      map_size;       /* size of chosen_trn_map */
55extern char     *temp_file;     /* generic temporary file... */
56extern int      sci_idx;
57
58extern int      interrupt;
59
60extern int      errno;          /* lusing UNIX method to pass error values */
61
62extern bool     use_editor;     /* Should we snarf input from stdin, or
63                                 * use an editor instead? */
64extern char     *editor_path;   /* Pathname of editor to use */
65
66extern  char    *user_id;       /* user.instance@realm identifier for user */
67
68/* Subroutine declarations */
69
70extern void     get_trn_map();
71extern selection_list *trn_select();
72
73#if defined(__GNUC__)
74#undef alloca
75#define alloca(x) __builtin_alloca(x)
76#endif
Note: See TracBrowser for help on using the repository browser.