summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-01 18:36:50 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 13:03:11 +0200
commit240188b6ba50d00cb705c88ba3a8278f5db4bb5f (patch)
tree164703c51d257e79f3f3589ae4b9f5584fa09b57 /source3/lib
parent91359e7febaf0c538464d60461c862a0a317b6b3 (diff)
downloadsamba-240188b6ba50d00cb705c88ba3a8278f5db4bb5f.tar.gz
samba-240188b6ba50d00cb705c88ba3a8278f5db4bb5f.tar.bz2
samba-240188b6ba50d00cb705c88ba3a8278f5db4bb5f.zip
netapi: add new SERVER_INFO structures to public header.
Guenther (This used to be commit cff66738936f9f5cc4d2cd284cde2e1ac2972d33)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/netapi.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 817d4029ec..80c44f0ddb 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -97,6 +97,37 @@ struct DOMAIN_CONTROLLER_INFO {
#define TIMEQ_FOREVER ( (uint32_t)-1L )
+struct SERVER_INFO_100 {
+ uint32_t sv100_platform_id;
+ const char * sv100_name;
+};
+
+struct SERVER_INFO_101 {
+ uint32_t sv101_platform_id;
+ const char * sv101_name;
+ uint32_t sv101_version_major;
+ uint32_t sv101_version_minor;
+ uint32_t sv101_type;
+ const char * sv101_comment;
+};
+
+struct SERVER_INFO_102 {
+ uint32_t sv102_platform_id;
+ const char * sv102_name;
+ uint32_t sv102_version_major;
+ uint32_t sv102_version_minor;
+ uint32_t sv102_type;
+ const char * sv102_comment;
+ uint32_t sv102_users;
+ uint32_t sv102_disc;
+ uint8_t sv102_hidden;
+ uint32_t sv102_announce;
+ uint32_t sv102_anndelta;
+ uint32_t sv102_licenses;
+ const char * sv102_userpath;
+};
+
+
struct SERVER_INFO_1005 {
const char * sv1005_comment;
};