summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-04 16:38:57 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 12:53:38 +0200
commitd44cf830b98078c82016f155f1a33223fac829bb (patch)
tree64e4cc480d326fedba2b79675e283f34fe1a5beb /source3
parentcb2d7aa82775c77d089b3d6bea9b7a63d200fec3 (diff)
downloadsamba-d44cf830b98078c82016f155f1a33223fac829bb.tar.gz
samba-d44cf830b98078c82016f155f1a33223fac829bb.tar.bz2
samba-d44cf830b98078c82016f155f1a33223fac829bb.zip
netapi: add more SHARE_INFO_X levels.
Guenther (This used to be commit 5f55e85cab6b3e98304dac5de96d6c6d43797e23)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/idl/libnetapi.idl29
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl
index 9ea1cc5db2..a81a3c683b 100644
--- a/source3/librpc/idl/libnetapi.idl
+++ b/source3/librpc/idl/libnetapi.idl
@@ -985,6 +985,16 @@ interface libnetapi
/*******************************************/
typedef struct {
+ string shi0_netname;
+ } SHARE_INFO_0;
+
+ typedef struct {
+ string shi1_netname;
+ uint32 shi1_type;
+ string shi1_remark;
+ } SHARE_INFO_1;
+
+ typedef struct {
string shi2_netname;
uint32 shi2_type;
string shi2_remark;
@@ -995,6 +1005,25 @@ interface libnetapi
string shi2_passwd;
} SHARE_INFO_2;
+ typedef struct {
+ string shi501_netname;
+ uint32 shi501_type;
+ string shi501_remark;
+ uint32 shi501_flags;
+ } SHARE_INFO_501;
+
+ typedef struct {
+ string shi1004_remark;
+ } SHARE_INFO_1004;
+
+ typedef struct {
+ uint32 shi1005_flags;
+ } SHARE_INFO_1005;
+
+ typedef struct {
+ uint32 shi1006_max_uses;
+ } SHARE_INFO_1006;
+
[nopush,nopull] NET_API_STATUS NetShareAdd(
[in] string server_name,
[in] uint32 level,