summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-04 15:52:19 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 13:21:05 +0200
commit536788efda948ace21369df5316501363ae5d161 (patch)
tree16ac0709601c9f40c30e03219c5a2c9d76bfa27a
parent723dfffed71426d77635b5bba2bb4845da1c7bbf (diff)
downloadsamba-536788efda948ace21369df5316501363ae5d161.tar.gz
samba-536788efda948ace21369df5316501363ae5d161.tar.bz2
samba-536788efda948ace21369df5316501363ae5d161.zip
re-run make idl.
Guenther (This used to be commit dab613e930a9193153cc744e4ad4ea0fa6476b40)
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h15
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c33
-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 2d659b9078..1e3d51a58b 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -1293,4 +1293,19 @@ struct NetShareEnum {
};
+
+struct NetShareGetInfo {
+ struct {
+ const char * server_name;
+ const char * net_name;
+ uint32_t level;
+ } in;
+
+ struct {
+ uint8_t **buffer;/* [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 12a4a5ef73..f2f7bd3300 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -3671,3 +3671,36 @@ _PUBLIC_ void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, in
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetShareGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareGetInfo *r)
+{
+ ndr_print_struct(ndr, name, "NetShareGetInfo");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetShareGetInfo");
+ 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->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetShareGetInfo");
+ ndr->depth++;
+ ndr_print_ptr(ndr, "buffer", r->out.buffer);
+ ndr->depth++;
+ ndr_print_ptr(ndr, "buffer", *r->out.buffer);
+ ndr->depth++;
+ if (*r->out.buffer) {
+ ndr_print_uint8(ndr, "buffer", **r->out.buffer);
+ }
+ ndr->depth--;
+ 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 70b12151d9..86b284157a 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -88,7 +88,9 @@
#define NDR_NETSHAREENUM (0x28)
-#define NDR_LIBNETAPI_CALL_COUNT (41)
+#define NDR_NETSHAREGETINFO (0x29)
+
+#define NDR_LIBNETAPI_CALL_COUNT (42)
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);
@@ -347,4 +349,7 @@ void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int flags, c
enum ndr_err_code ndr_push_NetShareEnum(struct ndr_push *ndr, int flags, const struct NetShareEnum *r);
enum ndr_err_code ndr_pull_NetShareEnum(struct ndr_pull *ndr, int flags, struct NetShareEnum *r);
void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetShareEnum *r);
+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);
#endif /* _HEADER_NDR_libnetapi */