abac0-leak
Last change
on this file since 7764378 was
7764378,
checked in by Mei <mei@…>, 11 years ago
|
1) tweak according valgrind's leak report
|
-
Property mode set to
100644
|
File size:
355 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; |
---|
[461541a] | 12 | char *rulefile; |
---|
[06d7b3a] | 13 | } options_t; |
---|
| 14 | |
---|
| 15 | void get_options(int argc, char **argv, options_t *opts); |
---|
[7764378] | 16 | void free_options(options_t *opts); |
---|
[06d7b3a] | 17 | |
---|
| 18 | #ifdef __cplusplus |
---|
| 19 | } |
---|
| 20 | #endif |
---|
| 21 | |
---|
| 22 | #endif /* __OPTIONS_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.