summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-03 12:10:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:31 -0500
commit6a2422932bb36183ab2ec8d0909de45c3fc8db35 (patch)
tree0f47ec124e3f73318b85a8accf31af7ccc01d910 /source4/librpc/idl
parent905dd977fa692ef01676b92396f25070a1d194d3 (diff)
downloadsamba-6a2422932bb36183ab2ec8d0909de45c3fc8db35.tar.gz
samba-6a2422932bb36183ab2ec8d0909de45c3fc8db35.tar.bz2
samba-6a2422932bb36183ab2ec8d0909de45c3fc8db35.zip
r2204: added [flag(RELATIVE_CURRENT)] to change [relative] pointer behaviour
for this struct and all sub-structures to be like spoolss relative pointers (where offset is relative to current position). volker will test this for me :) (This used to be commit bd45329a3fb55a5d9f006ad601ae26a80b9a563f)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/idl_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/idl/idl_types.h b/source4/librpc/idl/idl_types.h
index 2140d44b20..86f4e17959 100644
--- a/source4/librpc/idl/idl_types.h
+++ b/source4/librpc/idl/idl_types.h
@@ -80,5 +80,7 @@
*/
#define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX
+/* this enables spoolss style relative ptrs */
+#define RELATIVE_CURRENT LIBNDR_FLAG_RELATIVE_CURRENT
#define bool8 uint8