summaryrefslogtreecommitdiff
path: root/general.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-07 13:37:58 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-07 13:37:58 -0800
commitf97fa562124a04296a567aadd535662e68c7f8f5 (patch)
treecfc7b1242a6ed88f23537d3cb0610c30f9f19340 /general.h
parente27aa82a4e6a7be0898bef504901dbb1d32e3dbf (diff)
downloadvyatta-bash-f97fa562124a04296a567aadd535662e68c7f8f5.tar.gz
vyatta-bash-f97fa562124a04296a567aadd535662e68c7f8f5.zip
code reorg
Diffstat (limited to 'general.h')
-rw-r--r--general.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/general.h b/general.h
index 397264f..dcb775c 100644
--- a/general.h
+++ b/general.h
@@ -43,18 +43,10 @@
# include <limits.h>
#endif
-#if defined(HAVE_UNISTD_H)
-# include <unistd.h>
-#endif
-
-#include <pwd.h>
-
-#if defined(HAVE_GRP_H)
-# include <grp.h>
-#endif
-
#include "xmalloc.h"
+#include "vyatta-restricted.h"
+
/* NULL pointer type. */
#if !defined (NULL)
# if defined (__STDC__)
@@ -327,8 +319,4 @@ extern int group_member __P((gid_t));
extern char **get_group_list __P((int *));
extern int *get_group_array __P((int *));
-extern void set_vyatta_restricted_mode __P((void));
-enum vyatta_restricted_type { OUTPUT, FULL };
-extern int in_vyatta_restricted_mode __P((enum vyatta_restricted_type));
-
#endif /* _GENERAL_H_ */