netapi: add IDL for NetFileGetInfo.
authorGünther Deschner <gd@samba.org>
Tue, 9 Sep 2008 17:30:25 +0000 (19:30 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:36:39 +0000 (14:36 +0200)
Guenther
(This used to be commit 368b4d262a584eb0c44e19367c1f444723efce98)

source3/librpc/idl/libnetapi.idl

index e57e5190431f178e3e6b832f82db5b6d874cccb8..6ecfdccdfd68ff7a205f4718b719676ccf2711e6 100644 (file)
@@ -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
+               );
 }