1 #ifndef SELINUX_CONTEXT_H
2 # define SELINUX_CONTEXT_H
6 /* The definition of _GL_UNUSED_PARAMETER is copied here. */
9 static inline context_t context_new (char const *s _GL_UNUSED_PARAMETER)
10 { errno = ENOTSUP; return 0; }
11 static inline char *context_str (context_t con _GL_UNUSED_PARAMETER)
12 { errno = ENOTSUP; return (void *) 0; }
13 static inline void context_free (context_t c _GL_UNUSED_PARAMETER) {}
15 static inline int context_user_set (context_t sc _GL_UNUSED_PARAMETER,
16 char const *s _GL_UNUSED_PARAMETER)
17 { errno = ENOTSUP; return -1; }
18 static inline int context_role_set (context_t sc _GL_UNUSED_PARAMETER,
19 char const *s _GL_UNUSED_PARAMETER)
20 { errno = ENOTSUP; return -1; }
21 static inline int context_range_set (context_t sc _GL_UNUSED_PARAMETER,
22 char const *s _GL_UNUSED_PARAMETER)
23 { errno = ENOTSUP; return -1; }
24 static inline int context_type_set (context_t sc _GL_UNUSED_PARAMETER,
25 char const *s _GL_UNUSED_PARAMETER)
26 { errno = ENOTSUP; return -1; }