source: libabac/options.h @ f89b991

mei_rt2
Last change on this file since f89b991 was 2e9455f, checked in by Mei <mei@…>, 11 years ago

1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule

  • Property mode set to 100644
File size: 399 bytes
Line 
1#ifndef __ABAC_OPTIONS_H__
2#define __ABAC_OPTIONS_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct _options_t {
9    char *keystore;
10    char *role;
11    char *principal;
12    char *filename;
13    char *oset;
14    char *object;
15    int  dbdump;
16    int  all;
17} options_t;
18
19void get_options(int argc, char **argv, options_t *opts);
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif /* __ABAC_OPTIONS_H__ */
Note: See TracBrowser for help on using the repository browser.