Line | |
---|
1 | #ifndef DEFS_H |
---|
2 | #define DEFS_H |
---|
3 | |
---|
4 | #define RNA 0 |
---|
5 | #define NONRNA 1 |
---|
6 | |
---|
7 | #define AUTHOR 1 |
---|
8 | #define JOURNAL 2 |
---|
9 | #define TITLE 3 |
---|
10 | #define STANDARD 4 |
---|
11 | #define PROCESS 5 |
---|
12 | #define ALL 0 |
---|
13 | |
---|
14 | #define SEQLINE 60 |
---|
15 | |
---|
16 | #define LINESIZE 126 |
---|
17 | #define LONGTEXT 5000 |
---|
18 | #define TOKENSIZE 80 |
---|
19 | |
---|
20 | // max. length of lines |
---|
21 | #define EMBLMAXLINE 74 |
---|
22 | #define GBMAXLINE 78 |
---|
23 | #define MACKEMAXLINE 78 |
---|
24 | |
---|
25 | // indentation to part behind key |
---|
26 | #define EMBLINDENT 5 |
---|
27 | #define GBINDENT 12 |
---|
28 | |
---|
29 | // indents for RDP-defined comments |
---|
30 | #define RDP_SUBKEY_INDENT 2 |
---|
31 | #define RDP_CONTINUED_INDENT 6 |
---|
32 | |
---|
33 | #define p_nonkey_start 5 |
---|
34 | |
---|
35 | enum EntryState { |
---|
36 | ENTRY_NONE, |
---|
37 | ENTRY_STARTED, |
---|
38 | ENTRY_COMPLETED, |
---|
39 | }; |
---|
40 | |
---|
41 | // -------------------- |
---|
42 | // Logging |
---|
43 | |
---|
44 | #if defined(DEBUG) |
---|
45 | // #define CALOG // be more verbose in debugging mode |
---|
46 | #endif // DEBUG |
---|
47 | |
---|
48 | #else |
---|
49 | #error defs.h included twice |
---|
50 | #endif // DEFS_H |
---|
Note: See
TracBrowser
for help on using the repository browser.