|
|
1.1 root 1: /* fred.h - definitions for fred */
2:
3: /*
4: * $Header: /f/osi/others/quipu/uips/fred/RCS/fred.h,v 7.6 90/06/11 10:55:21 mrose Exp $
5: *
6: *
7: * $Log: fred.h,v $
8: * Revision 7.6 90/06/11 10:55:21 mrose
9: * UFN
10: *
11: * Revision 7.5 90/03/08 08:05:08 mrose
12: * phone
13: *
14: * Revision 7.4 90/01/16 20:43:29 mrose
15: * last check-out
16: *
17: * Revision 7.3 90/01/11 18:36:33 mrose
18: * real-sync
19: *
20: * Revision 7.2 89/12/14 18:49:03 mrose
21: * KIS project
22: *
23: * Revision 7.1 89/12/13 20:01:49 mrose
24: * errfp
25: *
26: * Revision 7.0 89/11/23 22:08:57 mrose
27: * Release 6.0
28: *
29: */
30:
31: /*
32: * NOTICE
33: *
34: * Acquisition, use, and distribution of this module and related
35: * materials are subject to the restrictions of a license agreement.
36: * Consult the Preface in the User's Manual for the full terms of
37: * this agreement.
38: *
39: */
40:
41:
42: #include <stdio.h>
43: #include "general.h"
44: #include "manifest.h"
45: #include "tailor.h"
46:
47: /* MAIN */
48:
49: extern int interrupted;
50: extern int oneshot;
51:
52: extern char ufn_file[];
53:
54: extern SFP istat;
55: extern SFP qstat;
56:
57: extern LLog _fred_log, *fred_log;
58:
59:
60: void adios (), advise ();
61: int ask (), getline ();
62: char *strdup ();
63:
64: /* DATA */
65:
66: extern int debug;
67: extern int fflag;
68: extern int kflag;
69: extern int mail;
70: extern int nametype;
71: extern int network;
72: extern int phone;
73: extern int query;
74: extern int readonly;
75: extern int soundex;
76: extern int timelimit;
77: extern int verbose;
78: extern int watch;
79:
80: extern int usetty;
81: extern int ifd;
82: extern int ofd;
83:
84: extern int didbind;
85: extern int dontpage;
86: extern int rcmode;
87: extern int runcom;
88: extern int runsys;
89:
90: extern char *manager;
91: extern char *pager;
92:
93: extern char *myarea;
94: extern char *mydn;
95: extern char *myhome;
96: extern char *myuser;
97:
98:
99: extern FILE *stdfp;
100: extern FILE *errfp;
101:
102:
103: #define EOLN (network && !mail ? "\r\n" : "\n")
104:
105: /* DISPATCH */
106:
107: struct dispatch {
108: char *ds_name;
109: IFP ds_fnx;
110:
111: int ds_flags;
112: #define DS_NULL 0x00
113: #define DS_USER 0x01
114: #define DS_SYOK 0x02
115:
116: char *ds_help;
117: };
118:
119: /* MISCELLANY */
120:
121: struct area_guide {
122: int ag_record;
123: #define W_ORGANIZATION 0x01
124: #define W_UNIT 0x02
125: #define W_LOCALITY 0x03
126: #define W_PERSON 0x04
127: #define W_DSA 0x05
128: #define W_ROLE 0x06
129: char *ag_key;
130:
131: char *ag_search;
132:
133: char *ag_class;
134: char *ag_rdn;
135:
136: char *ag_area;
137: };
138:
139: extern int area_quantum;
140: extern struct area_guide areas[];
141:
142: /* WHOIS */
143:
144: extern char *whois_help[];
145:
146: /* */
147:
148: extern int errno;
149:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.