SQLBOX_ROLE_HIER_GEN_FREE(3) Library Functions Manual SQLBOX_ROLE_HIER_GEN_FREE(3)

sqlbox_role_hier_gen_free
free generated roles

library “sqlbox”

#include <stdint.h>
#include <sqlbox.h>

void
sqlbox_role_hier_gen_free(struct sqlbox_roles *roles);

Frees roles created by a successful call to sqlbox_role_hier_gen(3). It also zeroes the structure, so it may be subsequently re-used. This should only be called after invoking sqlbox_role_hier_gen(3). It is a noop to invoke the function twice in sequence. It is a noop to pass NULL as roles.

sqlbox_role_hier_gen(3)
October 28, 2019 OpenBSD 6.5