From: Günther Deschner Date: Thu, 4 Sep 2008 14:38:57 +0000 (+0200) Subject: netapi: add more SHARE_INFO_X levels. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f55e85cab6b3e98304dac5de96d6c6d43797e23;p=thirdparty%2Fsamba.git netapi: add more SHARE_INFO_X levels. Guenther --- diff --git a/source/librpc/idl/libnetapi.idl b/source/librpc/idl/libnetapi.idl index 9ea1cc5db2d..a81a3c683b8 100644 --- a/source/librpc/idl/libnetapi.idl +++ b/source/librpc/idl/libnetapi.idl @@ -984,6 +984,16 @@ interface libnetapi /* NetShareAdd */ /*******************************************/ + typedef struct { + string shi0_netname; + } SHARE_INFO_0; + + typedef struct { + string shi1_netname; + uint32 shi1_type; + string shi1_remark; + } SHARE_INFO_1; + typedef struct { string shi2_netname; uint32 shi2_type; @@ -995,6 +1005,25 @@ interface libnetapi string shi2_passwd; } SHARE_INFO_2; + typedef struct { + string shi501_netname; + uint32 shi501_type; + string shi501_remark; + uint32 shi501_flags; + } SHARE_INFO_501; + + typedef struct { + string shi1004_remark; + } SHARE_INFO_1004; + + typedef struct { + uint32 shi1005_flags; + } SHARE_INFO_1005; + + typedef struct { + uint32 shi1006_max_uses; + } SHARE_INFO_1006; + [nopush,nopull] NET_API_STATUS NetShareAdd( [in] string server_name, [in] uint32 level,