This source file includes following definitions.
- priv_set_remove_linkdir
- priv_set_restore_linkdir
- priv_set_remove_linkdir
- priv_set_restore_linkdir
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  17 
  18 
  19 
  20 #ifndef _GL_INLINE_HEADER_BEGIN
  21  #error "Please include config.h first."
  22 #endif
  23 _GL_INLINE_HEADER_BEGIN
  24 #ifndef PRIV_SET_INLINE
  25 # define PRIV_SET_INLINE _GL_INLINE
  26 #endif
  27 
  28 #if HAVE_GETPPRIV && HAVE_PRIV_H
  29 
  30 # include <priv.h>
  31 
  32 int priv_set_ismember (const char *priv);
  33 int priv_set_remove (const char *priv);
  34 int priv_set_restore (const char *priv);
  35 
  36 PRIV_SET_INLINE int
  37 priv_set_remove_linkdir (void)
     
  38 {
  39   return priv_set_remove (PRIV_SYS_LINKDIR);
  40 }
  41 
  42 PRIV_SET_INLINE int
  43 priv_set_restore_linkdir (void)
     
  44 {
  45   return priv_set_restore (PRIV_SYS_LINKDIR);
  46 }
  47 
  48 #else
  49 
  50 PRIV_SET_INLINE int
  51 priv_set_remove_linkdir (void)
     
  52 {
  53   return -1;
  54 }
  55 
  56 PRIV_SET_INLINE int
  57 priv_set_restore_linkdir (void)
     
  58 {
  59   return -1;
  60 }
  61 
  62 #endif
  63 
  64 _GL_INLINE_HEADER_END