summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-09 19:30:25 +0200
committerGünther Deschner <gd@samba.org>2008-09-11 14:36:39 +0200
commit368b4d262a584eb0c44e19367c1f444723efce98 (patch)
tree55184dd4a62062af393303c1905b9daa88c33ada
parent0cbbdf21ed0c9270c00a7fd08f42f6546b9ac9b8 (diff)
downloadsamba-368b4d262a584eb0c44e19367c1f444723efce98.tar.gz
netapi: add IDL for NetFileGetInfo.
Guenther
-rw-r--r--source/librpc/idl/libnetapi.idl23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/librpc/idl/libnetapi.idl b/source/librpc/idl/libnetapi.idl
index e57e5190431..6ecfdccdfd6 100644
--- a/source/librpc/idl/libnetapi.idl
+++ b/source/librpc/idl/libnetapi.idl
@@ -1195,4 +1195,27 @@ interface libnetapi
[in] string server_name,
[in] uint32 fileid
);
+
+ /*******************************************/
+ /* NetFileGetInfo */
+ /*******************************************/
+
+ typedef struct {
+ uint32 fi2_id;
+ } FILE_INFO_2;
+
+ typedef struct {
+ uint32 fi3_id;
+ uint32 fi3_permissions;
+ uint32 fi3_num_locks;
+ string fi3_pathname;
+ string fi3_username;
+ } FILE_INFO_3;
+
+ [nopush,nopull] NET_API_STATUS NetFileGetInfo(
+ [in] string server_name,
+ [in] uint32 fileid,
+ [in] uint32 level,
+ [out] uint8 **buffer
+ );
}