netapi: add NetShareAdd to IDL.
authorGünther Deschner <gd@samba.org>
Wed, 27 Aug 2008 22:58:24 +0000 (00:58 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 11:58:02 +0000 (13:58 +0200)
Guenther
(This used to be commit 58d3a682631aa1fc3d90078db7c301de77cb7e73)

source3/librpc/idl/libnetapi.idl

index b80c6fe2b95c8c90558c68177a78c6321787b5e4..fb70841921837f7a445e8f59fd893b48b10e87a1 100644 (file)
@@ -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
+               );
 }