summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-09 19:20:05 +0200
committerGünther Deschner <gd@samba.org>2008-09-11 14:35:57 +0200
commite6467a3e907b3bd1e3ea67a94b9c753c392f8a20 (patch)
tree0517a78892badf423b5e080d944c7c086d44c822 /source3/librpc
parent5dbda0aa8961a2cded5f9c7d0be879e58e260293 (diff)
downloadsamba-e6467a3e907b3bd1e3ea67a94b9c753c392f8a20.tar.gz
samba-e6467a3e907b3bd1e3ea67a94b9c753c392f8a20.tar.bz2
samba-e6467a3e907b3bd1e3ea67a94b9c753c392f8a20.zip
re-run make idl.
Guenther (This used to be commit 74edd3e8535620cad69f8659ff52a3142217c310)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h13
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c23
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h7
3 files changed, 42 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index d61a562a95..864926f139 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -1393,4 +1393,17 @@ struct NetShareSetInfo {
};
+
+struct NetFileClose {
+ struct {
+ const char * server_name;
+ uint32_t fileid;
+ } in;
+
+ struct {
+ 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 48078a93f1..de5dcaeaa1 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -3868,3 +3868,26 @@ _PUBLIC_ void ndr_print_NetShareSetInfo(struct ndr_print *ndr, const char *name,
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, int flags, const struct NetFileClose *r)
+{
+ ndr_print_struct(ndr, name, "NetFileClose");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetFileClose");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_uint32(ndr, "fileid", r->in.fileid);
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetFileClose");
+ 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 d435fe0588..31b7139db0 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -98,7 +98,9 @@
#define NDR_NETSHARESETINFO (0x2d)
-#define NDR_LIBNETAPI_CALL_COUNT (46)
+#define NDR_NETFILECLOSE (0x2e)
+
+#define NDR_LIBNETAPI_CALL_COUNT (47)
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);
@@ -375,4 +377,7 @@ void ndr_print_NetShareGetInfo(struct ndr_print *ndr, const char *name, int flag
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);
+enum ndr_err_code ndr_push_NetFileClose(struct ndr_push *ndr, int flags, const struct NetFileClose *r);
+enum ndr_err_code ndr_pull_NetFileClose(struct ndr_pull *ndr, int flags, struct NetFileClose *r);
+void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, int flags, const struct NetFileClose *r);
#endif /* _HEADER_NDR_libnetapi */