From 71e81c670b25da8af9710ce77587b6d09a726c2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Thu, 28 Aug 2008 00:58:24 +0200 Subject: [PATCH] netapi: add NetShareAdd to IDL. Guenther (cherry picked from commit 58d3a682631aa1fc3d90078db7c301de77cb7e73) (cherry picked from commit 187087525f62ad539c200233b6eb549da6619cb8) --- source/librpc/idl/libnetapi.idl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 + ); } -- 2.11.4.GIT