Skip to content
Newer
Older
100644 99 lines (92 sloc) 3.94 KB
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored Dec 10, 2011
1 /* optglob.h */
2 /* Copyright 1995 by Steve Kirkendall */
3
4
5 /* This function declares global options, and macros for accessing them */
6
7 extern OPTVAL optglob[];
8 extern OPTVAL lpval[];
9
10 #define o_blksize optglob[0].value.number
11 #define o_blkhash optglob[1].value.number
12 #define o_blkcache optglob[2].value.number
13 #define o_blkgrow optglob[3].value.number
14 #define o_blkfill optglob[4].value.number
15 #define o_version optglob[5].value.string
16 #define o_bitsperchar optglob[6].value.number
17 #define o_gui optglob[7].value.string
18 #define o_os optglob[8].value.string
19 #define o_session optglob[9].value.string
20 #define o_recovering optglob[10].value.boolean
21 #define o_digraph optglob[11].value.boolean
22 #define o_exrc optglob[12].value.boolean
23 #define o_modeline optglob[13].value.boolean
24 #define o_modelines optglob[14].value.boolean
25 #define o_ignorecase optglob[15].value.boolean
26 #define o_magic optglob[16].value.boolean
27 #define o_novice optglob[17].value.boolean
28 #define o_prompt optglob[18].value.boolean
29 #define o_remap optglob[19].value.boolean
30 #define o_report optglob[20].value.number
31 #define o_shell optglob[21].value.string
32 #define o_sync optglob[22].value.boolean
33 #define o_taglength optglob[23].value.number
34 #define o_tags optglob[24].value.string
35 #define o_tagstack optglob[25].value.boolean
36 #define o_autoprint optglob[26].value.boolean
37 #define o_autowrite optglob[27].value.boolean
38 #define o_autoselect optglob[28].value.boolean
39 #define o_warn optglob[29].value.boolean
40 #define o_window optglob[30].value.number
41 #define o_wrapscan optglob[31].value.boolean
42 #define o_writeany optglob[32].value.boolean
43 #define o_defaultreadonly optglob[33].value.boolean
44 #define o_initialstate optglob[34].value.character
45 #define o_exitcode optglob[35].value.number
46 #define o_keytime optglob[36].value.number
47 #define o_usertime optglob[37].value.number
48 #define o_safer optglob[38].value.boolean
49 #define o_tempsession optglob[39].value.boolean
50 #define o_newsession optglob[40].value.boolean
51 #define o_exrefresh optglob[41].value.boolean
52 #define o_home optglob[42].value.string
53 #define o_elvispath optglob[43].value.string
54 #define o_terse optglob[44].value.boolean
55 #define o_previousfile optglob[45].value.string
56 #define o_previousfileline optglob[46].value.number
57 #define o_previouscommand optglob[47].value.string
58 #define o_previoustag optglob[48].value.string
59 #define o_nearscroll optglob[49].value.number
60 #define o_optimize optglob[50].value.boolean
61 #define o_edcompatible optglob[51].value.boolean
62 #define o_pollfrequency optglob[52].value.number
63 #define o_sentenceend optglob[53].value.string
64 #define o_sentencequote optglob[54].value.string
65 #define o_sentencegap optglob[55].value.number
66 #define o_verbose optglob[56].value.boolean
67 #define o_anyerror optglob[57].value.boolean
68 #define o_directory optglob[58].value.string
69 #define o_errorbells optglob[59].value.boolean
70 #define o_warningbells optglob[60].value.boolean
71 #define o_flash optglob[61].value.boolean
72 #define o_program optglob[62].value.string
73 #define o_backup optglob[63].value.boolean
74 #define o_showmarkups optglob[64].value.boolean
75 #define o_nonascii optglob[65].value.character
76 #define o_beautify optglob[66].value.boolean
77 #define o_mesg optglob[67].value.boolean
78 #define o_sessionpath optglob[68].value.string
79 #define o_maptrace optglob[69].value.character
80 #define o_maplog optglob[70].value.character
81 #define o_gdefault optglob[71].value.boolean
82 #define QTY_GLOBAL_OPTS 72
83
84 #define o_lptype lpval[0].value.string
85 #define o_lpcrlf lpval[1].value.boolean
86 #define o_lpout lpval[2].value.string
87 #define o_lpcolumns lpval[3].value.number
88 #define o_lpwrap lpval[4].value.boolean
89 #define o_lplines lpval[5].value.number
90 #define o_lpconvert lpval[6].value.boolean
91 #define o_lpformfeed lpval[7].value.boolean
92 #define o_lppaper lpval[8].value.string
93 #define QTY_LP_OPTS 9
94
95 BEGIN_EXTERNC
96 extern void optglobinit P_((void));
97 extern void optprevfile P_((CHAR *name, long line));
98 END_EXTERNC
Something went wrong with that request. Please try again.