mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-24 15:02:44 +00:00
cf8625be58
ratbert90 submitted this patch via https://github.com/SELinuxProject/selinux/issues/19. Apparently musl does not provide sys/cdefs.h, see http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
19 lines
339 B
C
19 lines
339 B
C
#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
|