abac0-leak
Last change
on this file since e825c38 was
ec550f7,
checked in by Mei <mei@…>, 11 years ago
|
1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading
an attribute credentials
4) add examples of GENI specific attribute credentials
and principal certificates into the regression testing
5) rename examples to tests
|
-
Property mode set to
100644
|
File size:
484 bytes
|
Line | |
---|
1 | /** |
---|
2 | tbasic.c |
---|
3 | |
---|
4 | bring up and taking down a context |
---|
5 | |
---|
6 | **/ |
---|
7 | |
---|
8 | #include <err.h> |
---|
9 | #include <stdio.h> |
---|
10 | #include <assert.h> |
---|
11 | |
---|
12 | #include <abac.h> |
---|
13 | |
---|
14 | int main(int argc, char **argv) { |
---|
15 | int i, success=0; |
---|
16 | abac_credential_t *cred=NULL; |
---|
17 | abac_credential_t **credentials=NULL; |
---|
18 | |
---|
19 | printf("calling main ..\n"); |
---|
20 | abac_context_t *ctxt = abac_context_new(); |
---|
21 | abac_context_t *ctxt2 = abac_context_new(); |
---|
22 | printf("done calling main ..\n"); |
---|
23 | |
---|
24 | abac_context_free(ctxt2); |
---|
25 | |
---|
26 | return 0; |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.