diff options
author | Günther Deschner <gd@samba.org> | 2008-08-28 00:58:24 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-29 13:58:02 +0200 |
commit | 8e578838828357bac0769f1bfe5273c8244daec3 (patch) | |
tree | 6bf92c3b888097962d4e3e7310ab75b993c1404e /source3/librpc | |
parent | c750f8c40036f04ff0ae533aeb97d5948b31ed54 (diff) | |
download | samba-8e578838828357bac0769f1bfe5273c8244daec3.tar.gz samba-8e578838828357bac0769f1bfe5273c8244daec3.tar.bz2 samba-8e578838828357bac0769f1bfe5273c8244daec3.zip |
netapi: add NetShareAdd to IDL.
Guenther
(This used to be commit 58d3a682631aa1fc3d90078db7c301de77cb7e73)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/idl/libnetapi.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index b80c6fe2b9..fb70841921 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/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 + ); } |