]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netapi: add new SERVER_INFO structures to public header.
authorGünther Deschner <gd@samba.org>
Mon, 1 Sep 2008 16:36:50 +0000 (18:36 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 11:03:11 +0000 (13:03 +0200)
Guenther

source/lib/netapi/netapi.h

index 817d4029ec382af0f78489ca5750cc3f3dc03041..80c44f0ddbe05c87e09d8912233b3d1ddac0e28e 100644 (file)
@@ -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;
 };