diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-07 13:37:58 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-07 13:37:58 -0800 |
commit | f97fa562124a04296a567aadd535662e68c7f8f5 (patch) | |
tree | cfc7b1242a6ed88f23537d3cb0610c30f9f19340 /general.h | |
parent | e27aa82a4e6a7be0898bef504901dbb1d32e3dbf (diff) | |
download | vyatta-bash-f97fa562124a04296a567aadd535662e68c7f8f5.tar.gz vyatta-bash-f97fa562124a04296a567aadd535662e68c7f8f5.zip |
code reorg
Diffstat (limited to 'general.h')
-rw-r--r-- | general.h | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -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_ */ |