void auparse_destroy (auparse_state_t *au);
void auparse_destroy_ext (auparse_state_t *au, auparse_destroy_what_t what);
auparse_destroy frees all data structures and closes file descriptors.
auparse_destroy_ext frees data structures based on what. What can be AUPARSE_DESTROY_ALL to release everything or AUPARSE_DESTROY_COMMON to release everything but the uid and gid lookup cache.
None.
auparse_init(3), auparse_reset(3).