diff options
author | paul <paul> | 2006-03-30 15:00:30 +0000 |
---|---|---|
committer | paul <paul> | 2006-03-30 15:00:30 +0000 |
commit | 3b1f8fd63bb7abd3ba3da6e656ff02d22a17233d (patch) | |
tree | f7d11a20a93ad94171089b2763bda9e9d214c764 /lib/command.h | |
parent | b5e01920c5c5c626a1fbe34ebedf7ae4c0fd32cd (diff) | |
download | quagga-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.h | 4 |
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 */ |