selinux/libsepol/include/sepol/roles.h

19 lines
339 B
C
Raw Normal View History

#ifndef _SEPOL_ROLES_H_
#define _SEPOL_ROLES_H_
#ifdef __cplusplus
extern "C" {
#endif
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);
#ifdef __cplusplus
}
#endif
#endif