From: Günther Deschner Date: Wed, 27 Aug 2008 22:58:24 +0000 (+0200) Subject: netapi: add NetShareAdd to IDL. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d3a682631aa1fc3d90078db7c301de77cb7e73;p=thirdparty%2Fsamba.git netapi: add NetShareAdd to IDL. Guenther --- diff --git a/source/librpc/idl/libnetapi.idl b/source/librpc/idl/libnetapi.idl index b80c6fe2b95..fb708419218 100644 --- a/source/librpc/idl/libnetapi.idl +++ b/source/librpc/idl/libnetapi.idl @@ -962,4 +962,26 @@ interface libnetapi [in] string server_name, [out,ref] uint8 **buffer ); + + /*******************************************/ + /* NetShareAdd */ + /*******************************************/ + + typedef struct { + string shi2_netname; + uint32 shi2_type; + string shi2_remark; + uint32 shi2_permissions; + uint32 shi2_max_uses; + uint32 shi2_current_uses; + string shi2_path; + string shi2_passwd; + } SHARE_INFO_2; + + [nopush,nopull] NET_API_STATUS NetShareAdd( + [in] string server_name, + [in] uint32 level, + [in] uint8 *buffer, + [out] uint32 *parm_err + ); }