source:
libabac/options.h
@
ba75224
Last change on this file since ba75224 was abf8d5d, checked in by , 12 years ago | |
---|---|
|
|
File size: 384 bytes |
Rev | Line | |
---|---|---|
[06d7b3a] | 1 | #ifndef __OPTIONS_H__ |
2 | #define __OPTIONS_H__ | |
3 | ||
4 | #ifdef __cplusplus | |
5 | extern "C" { | |
6 | #endif | |
7 | ||
8 | typedef struct _options_t { | |
9 | char *keystore; | |
10 | char *role; | |
11 | char *principal; | |
[da5afdf] | 12 | char *filename; |
13 | char *oset; | |
14 | char *object; | |
[2efdff5] | 15 | int dbdump; |
[abf8d5d] | 16 | int all; |
[06d7b3a] | 17 | } options_t; |
18 | ||
19 | void get_options(int argc, char **argv, options_t *opts); | |
20 | ||
21 | #ifdef __cplusplus | |
22 | } | |
23 | #endif | |
24 | ||
25 | #endif /* __OPTIONS_H__ */ |
Note: See TracBrowser
for help on using the repository browser.