From c013d9361ccbcea5cf8784b7777b0ea48bfcd010 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 9 Sep 2008 19:30:25 +0200 Subject: [PATCH] netapi: add IDL for NetFileGetInfo. Guenther (cherry picked from commit 368b4d262a584eb0c44e19367c1f444723efce98) (cherry picked from commit b01f500c092e4a79bb15c616f3b64686654148ac) --- source/librpc/idl/libnetapi.idl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 + ); } -- 2.11.4.GIT