summaryrefslogtreecommitdiffstats
path: root/lib/command.h
diff options
context:
space:
mode:
authorpaul <paul>2006-03-30 15:00:30 +0000
committerpaul <paul>2006-03-30 15:00:30 +0000
commit3b1f8fd63bb7abd3ba3da6e656ff02d22a17233d (patch)
treef7d11a20a93ad94171089b2763bda9e9d214c764 /lib/command.h
parentb5e01920c5c5c626a1fbe34ebedf7ae4c0fd32cd (diff)
downloadquagga-3b1f8fd63bb7abd3ba3da6e656ff02d22a17233d.tar.bz2
quagga-3b1f8fd63bb7abd3ba3da6e656ff02d22a17233d.tar.xz
[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 */