diff options
Diffstat (limited to 'include/sepol/roles.h')
-rw-r--r-- | include/sepol/roles.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sepol/roles.h b/include/sepol/roles.h new file mode 100644 index 0000000..113f9d2 --- /dev/null +++ b/include/sepol/roles.h @@ -0,0 +1,10 @@ +#ifndef _SEPOL_ROLES_H_ +#define _SEPOL_ROLES_H_ + +extern int sepol_role_exists(const sepol_policydb_t * policydb, + const char *role, int *response); + +extern int sepol_role_list(const sepol_policydb_t * policydb, + char ***roles, unsigned int *nroles); + +#endif |