source: libabac/options.h @ 461541a

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 461541a was 461541a, checked in by Mei <mei@…>, 11 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

  • Property mode set to 100644
File size: 319 bytes
RevLine 
[06d7b3a]1#ifndef __OPTIONS_H__
2#define __OPTIONS_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct _options_t {
9    char *keystore;
10    char *role;
11    char *principal;
[461541a]12    char *rulefile;
[06d7b3a]13} options_t;
14
15void get_options(int argc, char **argv, options_t *opts);
16
17#ifdef __cplusplus
18}
19#endif
20
21#endif /* __OPTIONS_H__ */
Note: See TracBrowser for help on using the repository browser.