/** tbasic.c bring up and taking down a context **/ #include #include #include #include extern void abac_print_cred_info(abac_credential_t*, FILE*); extern char *abac_id_keyid(abac_id_t *id); extern abac_attribute_t *abac_attribute_add_tail(abac_attribute_t *ptr, abac_aspect_t *); int main(int argc, char **argv) { int i, success=0; abac_credential_t *cred=NULL; abac_credential_t **credentials=NULL; printf("calling main ..\n"); abac_context_t *ctxt = abac_context_new(); // show_yap_db("dump_yap"); // abac_context_free(ctxt); printf("done calling main ..\n"); return 0; }