summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-03-30 15:00:30 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-03-30 15:00:30 +0000
commit86228fde807f4a13313e9828b8438f18a045a6ba (patch)
treea601ae20a73d4a1645a40ee15a28cfe595c31aee /lib/command.h
parent213d8dadcae5edd424ef98bf0657874a4c44faf2 (diff)
[lib] command.c exports host global, add it to header.
2006-03-14 Paul Jakma <paul.jakma@sun.com> * privs.c: (zprivs_caps_init) Change user IDs before lowering privileges, while this seems to work on Linux, on Solaris it rightfully refuses due to PRIV_PROC_SETID having been dropped. * command.h: Add the struct host global exported from command.c
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index 26013e22..99aec332 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -354,5 +354,7 @@ extern char *host_config_file (void);
extern void host_config_set (char *);
extern void print_version (const char *);
-
+
+/* struct host global, ick */
+extern struct host host;
#endif /* _ZEBRA_COMMAND_H */