]> git.samba.org - jra/samba/.git/commitdiff
netapi: add new SHARE_INFO structs to public header.
authorGünther Deschner <gd@samba.org>
Thu, 4 Sep 2008 14:46:36 +0000 (16:46 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 10:53:56 +0000 (12:53 +0200)
Guenther
(This used to be commit 30b99eb7e18ba274299ef37e3883154b35d6f2dc)

source3/lib/netapi/netapi.h

index 89665371a07d38ebb83236a2cd46df4936377f4c..856791807a7830afb6c39e4bb200658d827f2831 100644 (file)
@@ -551,6 +551,16 @@ struct TIME_OF_DAY_INFO {
        uint32_t tod_weekday;
 };
 
+struct SHARE_INFO_0 {
+       const char * shi0_netname;
+};
+
+struct SHARE_INFO_1 {
+       const char * shi1_netname;
+       uint32_t shi1_type;
+       const char * shi1_remark;
+};
+
 struct SHARE_INFO_2 {
        const char * shi2_netname;
        uint32_t shi2_type;
@@ -562,6 +572,25 @@ struct SHARE_INFO_2 {
        const char * shi2_passwd;
 };
 
+struct SHARE_INFO_501 {
+       const char * shi501_netname;
+       uint32_t shi501_type;
+       const char * shi501_remark;
+       uint32_t shi501_flags;
+};
+
+struct SHARE_INFO_1004 {
+       const char * shi1004_remark;
+};
+
+struct SHARE_INFO_1005 {
+       uint32_t shi1005_flags;
+};
+
+struct SHARE_INFO_1006 {
+       uint32_t shi1006_max_uses;
+};
+
 #endif /* _HEADER_libnetapi */
 
 /****************************************************************