summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-01-25 02:42:59 +0100
committerGünther Deschner <gd@samba.org>2011-01-25 12:27:00 +0100
commitc9f4fad75cf9749709cbebfe55c59f3c2d01858e (patch)
tree8327f107882dc201218912431baf53e97d5cc2a7 /librpc
parentf0b3c72bcc119f497a4379c549bc55fb1031ce90 (diff)
downloadsamba-c9f4fad75cf9749709cbebfe55c59f3c2d01858e.tar.gz
samba-c9f4fad75cf9749709cbebfe55c59f3c2d01858e.tar.bz2
samba-c9f4fad75cf9749709cbebfe55c59f3c2d01858e.zip
idl: add file_id idl.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/file_id.idl14
-rw-r--r--librpc/idl/wscript_build2
-rw-r--r--librpc/wscript_build5
3 files changed, 20 insertions, 1 deletions
diff --git a/librpc/idl/file_id.idl b/librpc/idl/file_id.idl
new file mode 100644
index 0000000000..cd1febedf4
--- /dev/null
+++ b/librpc/idl/file_id.idl
@@ -0,0 +1,14 @@
+[
+ pointer_default(unique)
+]
+interface file_id
+{
+ typedef [public] struct {
+ /* we don't use SMB_DEV_T and SMB_INO_T as we want a fixed size here,
+ and we may be using file system specific code to fill in something
+ other than a dev_t for the device */
+ udlong devid;
+ udlong inode;
+ udlong extid; /* Support systems that use an extended id (e.g. snapshots). */
+ } file_id;
+}
diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build
index 2d65d748ee..7342228e20 100644
--- a/librpc/idl/wscript_build
+++ b/librpc/idl/wscript_build
@@ -3,7 +3,7 @@
bld.SAMBA_PIDL_LIST('PIDL',
'''atsvc.idl drsuapi.idl epmapper.idl initshutdown.idl
misc.idl ntlmssp.idl schannel.idl trkwks.idl
- audiosrv.idl dfsblobs.idl dsbackup.idl eventlog.idl keysvc.idl
+ audiosrv.idl dfsblobs.idl dsbackup.idl eventlog.idl file_id.idl keysvc.idl
msgsvc.idl ntsvcs.idl remact.idl security.idl unixinfo.idl wzcsvc.idl
browser.idl dfs.idl dssetup.idl frsapi.idl krb5pac.idl
named_pipe_auth.idl orpc.idl rot.idl spoolss.idl w32time.idl xattr.idl
diff --git a/librpc/wscript_build b/librpc/wscript_build
index 9cbd9fa37c..89d0980d85 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -286,6 +286,11 @@ bld.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
public_deps='ndr'
)
+bld.SAMBA_SUBSYSTEM('NDR_FILE_ID',
+ source='../librpc/gen_ndr/ndr_file_id.c',
+ public_deps='ndr'
+ )
+
bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
source='../librpc/gen_ndr/ndr_xattr_c.c',
public_deps='NDR_XATTR dcerpc'