1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 #ifndef SELINUX_CONTEXT_H
4 # define SELINUX_CONTEXT_H
8 _GL_INLINE_HEADER_BEGIN
9 #ifndef SE_CONTEXT_INLINE
10 # define SE_CONTEXT_INLINE _GL_INLINE
13 /* The definition of _GL_UNUSED_PARAMETER is copied here. */
15 typedef int context_t;
16 SE_CONTEXT_INLINE context_t context_new (char const *s _GL_UNUSED_PARAMETER)
17 { errno = ENOTSUP; return 0; }
18 SE_CONTEXT_INLINE char *context_str (context_t con _GL_UNUSED_PARAMETER)
19 { errno = ENOTSUP; return (void *) 0; }
20 SE_CONTEXT_INLINE void context_free (context_t c _GL_UNUSED_PARAMETER) {}
22 SE_CONTEXT_INLINE int context_user_set (context_t sc _GL_UNUSED_PARAMETER,
23 char const *s _GL_UNUSED_PARAMETER)
24 { errno = ENOTSUP; return -1; }
25 SE_CONTEXT_INLINE int context_role_set (context_t sc _GL_UNUSED_PARAMETER,
26 char const *s _GL_UNUSED_PARAMETER)
27 { errno = ENOTSUP; return -1; }
28 SE_CONTEXT_INLINE int context_range_set (context_t sc _GL_UNUSED_PARAMETER,
29 char const *s _GL_UNUSED_PARAMETER)
30 { errno = ENOTSUP; return -1; }
31 SE_CONTEXT_INLINE int context_type_set (context_t sc _GL_UNUSED_PARAMETER,
32 char const *s _GL_UNUSED_PARAMETER)
33 { errno = ENOTSUP; return -1; }