|
|
1.1 root 1: /* ars_defs.h */
2:
3: /* Synchronet Access Requirement Strings (ARS) constants */
4:
5: /* $Id: ars_defs.h,v 1.6 2006/12/29 09:00:59 rswindell Exp $ */
6:
7: /****************************************************************************
8: * @format.tab-size 4 (Plain Text/Source Code File Header) *
9: * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
10: * *
11: * Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html *
12: * *
13: * This program is free software; you can redistribute it and/or *
14: * modify it under the terms of the GNU General Public License *
15: * as published by the Free Software Foundation; either version 2 *
16: * of the License, or (at your option) any later version. *
17: * See the GNU General Public License for more details: gpl.txt or *
18: * http://www.fsf.org/copyleft/gpl.html *
19: * *
20: * Anonymous FTP access to the most recent released source is available at *
21: * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net *
22: * *
23: * Anonymous CVS access to the development source and modification history *
24: * is available at cvs.synchro.net:/cvsroot/sbbs, example: *
25: * cvs -d :pserver:[email protected]:/cvsroot/sbbs login *
26: * (just hit return, no password is necessary) *
27: * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src *
28: * *
29: * For Synchronet coding style and modification guidelines, see *
30: * http://www.synchro.net/source.html *
31: * *
32: * You are encouraged to submit any modifications (preferably in Unix diff *
33: * format) via e-mail to [email protected] *
34: * *
35: * Note: If this box doesn't appear square, then you need to fix your tabs. *
36: ****************************************************************************/
37:
38: #ifndef _ARS_DEFS_H
39: #define _ARS_DEFS_H
40:
41: /************************************************************************/
42: /* Synchronet Access Requirement Strings fucntion prototypes and type */
43: /* definitions */
44: /************************************************************************/
45:
46: #include <stdio.h>
47: #include <stdlib.h>
48: #include <string.h>
49: #include <ctype.h>
50:
51: #include "gen_defs.h"
52: #include "scfgdefs.h"
53:
54: #ifdef __cplusplus
55: extern "C"
56: #endif
57: uchar *arstr(ushort* count, char* str, scfg_t* cfg);
58:
59: enum { /* Access requirement binaries */
60: AR_NULL
61: ,AR_OR
62: ,AR_NOT
63: ,AR_EQUAL
64: ,AR_BEGNEST
65: ,AR_ENDNEST
66: ,AR_LEVEL
67: ,AR_AGE
68: ,AR_BPS
69: ,AR_NODE
70: ,AR_TLEFT
71: ,AR_TUSED
72: ,AR_USER
73: ,AR_TIME
74: ,AR_PCR
75: ,AR_FLAG1
76: ,AR_FLAG2
77: ,AR_FLAG3
78: ,AR_FLAG4
79: ,AR_EXEMPT
80: ,AR_REST
81: ,AR_SEX
82: ,AR_UDR
83: ,AR_UDFR
84: ,AR_EXPIRE
85: ,AR_CREDIT
86: ,AR_DAY
87: ,AR_ANSI
88: ,AR_RIP
89: ,AR_LOCAL
90: ,AR_GROUP
91: ,AR_SUB
92: ,AR_LIB
93: ,AR_DIR
94: ,AR_EXPERT
95: ,AR_SYSOP
96: ,AR_QUIET
97: ,AR_MAIN_CMDS
98: ,AR_FILE_CMDS
99: ,AR_RANDOM
100: ,AR_LASTON
101: ,AR_LOGONS
102: ,AR_WIP
103: ,AR_SUBCODE
104: ,AR_DIRCODE
105: ,AR_OS2
106: ,AR_DOS
107: ,AR_WIN32
108: ,AR_UNIX
109: ,AR_LINUX
110: ,AR_SHELL
111: ,AR_PROT
112: ,AR_GUEST
113: ,AR_QNODE
114: ,AR_ACTIVE
115: ,AR_INACTIVE
116: ,AR_DELETED
117: };
118:
119: #endif /* Don't add anything after this line */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.