Mercurial > hg > octave-lojdl > gnulib-hg
view lib/se-context.in.h @ 11830:2e5821b6f988
doc: improve git diff of texinfo files
* .gitattributes: Add rule for *.texi files, with hint on how to
use it.
Copied from m4, and based on a report by Bruno Haible.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 13 Aug 2009 07:15:28 -0600 |
parents | c1444c2ed476 |
children | e8d2c6fc33ad |
line wrap: on
line source
#ifndef SELINUX_CONTEXT_H # define SELINUX_CONTEXT_H # include <errno.h> typedef int context_t; static inline context_t context_new (char const *s _UNUSED_PARAMETER_) { errno = ENOTSUP; return 0; } static inline char *context_str (context_t con _UNUSED_PARAMETER_) { errno = ENOTSUP; return (void *) 0; } static inline void context_free (context_t c _UNUSED_PARAMETER_) {} static inline int context_user_set (context_t sc _UNUSED_PARAMETER_, char const *s _UNUSED_PARAMETER_) { errno = ENOTSUP; return -1; } static inline int context_role_set (context_t sc _UNUSED_PARAMETER_, char const *s _UNUSED_PARAMETER_) { errno = ENOTSUP; return -1; } static inline int context_range_set (context_t sc _UNUSED_PARAMETER_, char const *s _UNUSED_PARAMETER_) { errno = ENOTSUP; return -1; } static inline int context_type_set (context_t sc _UNUSED_PARAMETER_, char const *s _UNUSED_PARAMETER_) { errno = ENOTSUP; return -1; } #endif