diff options
Diffstat (limited to 'src/tru/tru.h')
| -rw-r--r-- | src/tru/tru.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/src/tru/tru.h b/src/tru/tru.h index d0c54ab..575109e 100644 --- a/src/tru/tru.h +++ b/src/tru/tru.h | |||
| @@ -66,19 +66,14 @@ | |||
| 66 | #undef PROGRAM_NAME | 66 | #undef PROGRAM_NAME |
| 67 | #define PROGRAM_NAME "tinyrad" | 67 | #define PROGRAM_NAME "tinyrad" |
| 68 | 68 | ||
| 69 | #define MY_OPT_DICT_DEFAULTS 0x0001UL | ||
| 70 | #define MY_OPT_DICT_DUMP 0x0002UL | ||
| 71 | #define MY_OPT_DICT_LOADED 0x0004UL | ||
| 72 | #define MY_OPT_CONFIG_PRINT 0x0008UL | ||
| 73 | 69 | ||
| 70 | #define TRU_GETOPT_MATCHED -2 | ||
| 71 | #define TRU_GETOPT_ERROR -3 | ||
| 72 | #define TRU_GETOPT_EXIT -4 | ||
| 74 | 73 | ||
| 75 | #define MY_GETOPT_MATCHED -2 | ||
| 76 | #define MY_GETOPT_ERROR -3 | ||
| 77 | #define MY_GETOPT_EXIT -4 | ||
| 78 | 74 | ||
| 79 | 75 | #define TRU_COMMON_SHORT "d:f:hqVv" | |
| 80 | #define TINYRAD_GETOPT_SHORT "d:f:hqVv" | 76 | #define TRU_COMMON_LONG \ |
| 81 | #define TINYRAD_GETOPT_LONG \ | ||
| 82 | { "debug", optional_argument, NULL, 'd' }, \ | 77 | { "debug", optional_argument, NULL, 'd' }, \ |
| 83 | { "help", no_argument, NULL, 'h' }, \ | 78 | { "help", no_argument, NULL, 'h' }, \ |
| 84 | { "quiet", no_argument, NULL, 'q' }, \ | 79 | { "quiet", no_argument, NULL, 'q' }, \ |
| @@ -88,13 +83,13 @@ | |||
| 88 | { NULL, 0, NULL, 0 } | 83 | { NULL, 0, NULL, 0 } |
| 89 | 84 | ||
| 90 | 85 | ||
| 91 | #define TINYRAD_DICT_GETOPT_SHORT "bD:I:" | 86 | #define TRU_DICT_SHORT "bD:I:" |
| 92 | #define TINYRAD_DICT_GETOPT_LONG \ | 87 | #define TRU_DICT_LONG \ |
| 93 | { "builtin-dict", no_argument, NULL, 'b' }, \ | 88 | { "builtin-dict", no_argument, NULL, 'b' }, \ |
| 94 | 89 | ||
| 95 | 90 | ||
| 96 | #define TINYRAD_REQ_GETOPT_SHORT "D:I:" | 91 | #define TRU_REQ_SHORT "I:" |
| 97 | #define TINYRAD_REQ_GETOPT_LONG \ | 92 | #define TRU_REQ_LONG \ |
| 98 | { "file", optional_argument, NULL, 'f' }, \ | 93 | { "file", optional_argument, NULL, 'f' }, \ |
| 99 | 94 | ||
| 100 | 95 | ||
