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
commit092f92699dd142f368f9f9f45600bcb4dbbb2e3e (patch)
treec5736a9f961644c34bb5ddbeb5ffbcb34c2f816f
parentcb1e34745b180f93a58d29a566ac11b4253ff806 (diff)
downloadsamba-092f92699dd142f368f9f9f45600bcb4dbbb2e3e.tar.gz
samba-092f92699dd142f368f9f9f45600bcb4dbbb2e3e.tar.bz2
samba-092f92699dd142f368f9f9f45600bcb4dbbb2e3e.zip
netapi: add IDL for NetFileGetInfo.
Guenther (This used to be commit 368b4d262a584eb0c44e19367c1f444723efce98)
-rw-r--r--source3/librpc/idl/libnetapi.idl23
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl
index e57e519043..6ecfdccdfd 100644
--- a/source3/librpc/idl/libnetapi.idl
+++ b/source3/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
+ );
}