diff options
author | Günther Deschner <gd@samba.org> | 2008-09-01 18:36:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-05 13:03:11 +0200 |
commit | 240188b6ba50d00cb705c88ba3a8278f5db4bb5f (patch) | |
tree | 164703c51d257e79f3f3589ae4b9f5584fa09b57 /source3/lib/netapi/netapi.h | |
parent | 91359e7febaf0c538464d60461c862a0a317b6b3 (diff) | |
download | samba-240188b6ba50d00cb705c88ba3a8278f5db4bb5f.tar.gz samba-240188b6ba50d00cb705c88ba3a8278f5db4bb5f.tar.xz samba-240188b6ba50d00cb705c88ba3a8278f5db4bb5f.zip |
netapi: add new SERVER_INFO structures to public header.
Guenther
(This used to be commit cff66738936f9f5cc4d2cd284cde2e1ac2972d33)
Diffstat (limited to 'source3/lib/netapi/netapi.h')
-rw-r--r-- | source3/lib/netapi/netapi.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 817d4029ec3..80c44f0ddbe 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; }; |