summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-09 19:30:43 +0200
committerGünther Deschner <gd@samba.org>2008-09-11 14:36:47 +0200
commit5986c6730592cc9c007338be8524f74d62467da6 (patch)
tree93609f4bc5f3f5bcf24d1f70956d8d0ffe7bc312 /source3
parent092f92699dd142f368f9f9f45600bcb4dbbb2e3e (diff)
downloadsamba-5986c6730592cc9c007338be8524f74d62467da6.tar.gz
samba-5986c6730592cc9c007338be8524f74d62467da6.tar.bz2
samba-5986c6730592cc9c007338be8524f74d62467da6.zip
re-run make idl.
Guenther (This used to be commit e82c7481a01283f446ccf5e34261835d5b69f969)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h27
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c33
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h7
3 files changed, 66 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index 864926f139..00e5f50b7f 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -666,6 +666,18 @@ struct SHARE_INFO_1006 {
uint32_t shi1006_max_uses;
};
+struct FILE_INFO_2 {
+ uint32_t fi2_id;
+};
+
+struct FILE_INFO_3 {
+ uint32_t fi3_id;
+ uint32_t fi3_permissions;
+ uint32_t fi3_num_locks;
+ const char * fi3_pathname;
+ const char * fi3_username;
+};
+
struct NetJoinDomain {
struct {
@@ -1406,4 +1418,19 @@ struct NetFileClose {
};
+
+struct NetFileGetInfo {
+ struct {
+ const char * server_name;
+ uint32_t fileid;
+ 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 de5dcaeaa1..8105cce401 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -3891,3 +3891,36 @@ _PUBLIC_ void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, in
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetFileGetInfo *r)
+{
+ ndr_print_struct(ndr, name, "NetFileGetInfo");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetFileGetInfo");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_uint32(ndr, "fileid", r->in.fileid);
+ ndr_print_uint32(ndr, "level", r->in.level);
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetFileGetInfo");
+ 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 31b7139db0..3d41489990 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -100,7 +100,9 @@
#define NDR_NETFILECLOSE (0x2e)
-#define NDR_LIBNETAPI_CALL_COUNT (47)
+#define NDR_NETFILEGETINFO (0x2f)
+
+#define NDR_LIBNETAPI_CALL_COUNT (48)
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);
@@ -380,4 +382,7 @@ void ndr_print_NetShareSetInfo(struct ndr_print *ndr, const char *name, int flag
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);
+enum ndr_err_code ndr_push_NetFileGetInfo(struct ndr_push *ndr, int flags, const struct NetFileGetInfo *r);
+enum ndr_err_code ndr_pull_NetFileGetInfo(struct ndr_pull *ndr, int flags, struct NetFileGetInfo *r);
+void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetFileGetInfo *r);
#endif /* _HEADER_NDR_libnetapi */