[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
diff --git a/lib/ChangeLog b/lib/ChangeLog
index cf0278a..9e6dc85 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -41,6 +41,7 @@
 	  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
 
 2006-03-06 Paul Jakma <paul.jakma@sun.com>
 
diff --git a/lib/command.h b/lib/command.h
index 26013e2..99aec33 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -354,5 +354,7 @@
 extern void host_config_set (char *);
 
 extern void print_version (const char *);
-  
+
+/* struct host global, ick */
+extern struct host host; 
 #endif /* _ZEBRA_COMMAND_H */