1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

netapi: add NetShareAdd to IDL.

Guenther
(This used to be commit 58d3a68263)
This commit is contained in:
Günther Deschner 2008-08-28 00:58:24 +02:00
parent c750f8c400
commit 8e57883882

View 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
);
}