selinux/libsepol/include/sepol/roles.h
dcashman ed7a6ba24a Allow libsepol C++ static library on device.
Change-Id: I7da601767c3a4ebed7274e33304d8b589a9115fe
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-01-20 10:31:15 -05:00

16 lines
321 B
C

#ifndef _SEPOL_ROLES_H_
#define _SEPOL_ROLES_H_
#include <sys/cdefs.h>
__BEGIN_DECLS
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);
__END_DECLS
#endif