summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-04 20:01:46 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 13:22:07 +0200
commitf97cb336fcc8a20e559b732d7fef0f0c40a165c1 (patch)
tree91429112dac9e51159b0fff4fd442421430101d2 /source3/librpc
parente14fa8a2c543001d75dc0c3a4a65eb0b48f6a51b (diff)
downloadsamba-f97cb336fcc8a20e559b732d7fef0f0c40a165c1.tar.gz
samba-f97cb336fcc8a20e559b732d7fef0f0c40a165c1.tar.bz2
samba-f97cb336fcc8a20e559b732d7fef0f0c40a165c1.zip
re-run make idl.
Guenther (This used to be commit 7d863c4b00d70110819b847890ccb9b2a4aa71c9)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h16
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c32
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h7
3 files changed, 54 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index 1e3d51a58b..f12c076781 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -1308,4 +1308,20 @@ struct NetShareGetInfo {
};
+
+struct NetShareSetInfo {
+ struct {
+ const char * server_name;
+ const char * net_name;
+ uint32_t level;
+ uint8_t *buffer;/* [ref] */
+ } in;
+
+ struct {
+ uint32_t *parm_err;/* [ref] */
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
#endif /* _HEADER_libnetapi */
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index f2f7bd3300..3530a0877e 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -3704,3 +3704,35 @@ _PUBLIC_ void ndr_print_NetShareGetInfo(struct ndr_print *ndr, const char *name,
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetShareSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareSetInfo *r)
+{
+ ndr_print_struct(ndr, name, "NetShareSetInfo");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetShareSetInfo");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_string(ndr, "net_name", r->in.net_name);
+ ndr_print_uint32(ndr, "level", r->in.level);
+ ndr_print_ptr(ndr, "buffer", r->in.buffer);
+ ndr->depth++;
+ ndr_print_uint8(ndr, "buffer", *r->in.buffer);
+ ndr->depth--;
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetShareSetInfo");
+ ndr->depth++;
+ ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
+ ndr->depth++;
+ ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
+ ndr->depth--;
+ ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+ ndr->depth--;
+ }
+ ndr->depth--;
+}
+
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h
index 86b284157a..faebff6515 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -90,7 +90,9 @@
#define NDR_NETSHAREGETINFO (0x29)
-#define NDR_LIBNETAPI_CALL_COUNT (42)
+#define NDR_NETSHARESETINFO (0x2a)
+
+#define NDR_LIBNETAPI_CALL_COUNT (43)
enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r);
enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r);
void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r);
@@ -352,4 +354,7 @@ void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, int flags,
enum ndr_err_code ndr_push_NetShareGetInfo(struct ndr_push *ndr, int flags, const struct NetShareGetInfo *r);
enum ndr_err_code ndr_pull_NetShareGetInfo(struct ndr_pull *ndr, int flags, struct NetShareGetInfo *r);
void ndr_print_NetShareGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareGetInfo *r);
+enum ndr_err_code ndr_push_NetShareSetInfo(struct ndr_push *ndr, int flags, const struct NetShareSetInfo *r);
+enum ndr_err_code ndr_pull_NetShareSetInfo(struct ndr_pull *ndr, int flags, struct NetShareSetInfo *r);
+void ndr_print_NetShareSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareSetInfo *r);
#endif /* _HEADER_NDR_libnetapi */