summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-02 03:41:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:24 -0500
commit19a154fe2b3c8f1d78ed4052a31f88f27d06b8b3 (patch)
tree12f90c3e3b7a32f49634c5936a3451f2853ef189 /source4/librpc/ndr/libndr.h
parent87fa5c4fb5f80338bac79679b7b05f7d38bb5942 (diff)
downloadsamba-19a154fe2b3c8f1d78ed4052a31f88f27d06b8b3.tar.gz
samba-19a154fe2b3c8f1d78ed4052a31f88f27d06b8b3.tar.bz2
samba-19a154fe2b3c8f1d78ed4052a31f88f27d06b8b3.zip
r7186: add [relative_base] property, which is allowed on typedef's
(maybe we could add them to elements latter...) with this property all relative pointers from inside the struct or union are relative to the struct/union start metze (This used to be commit c0dd18326c058e3e218d43f48ecff418f4b0b51e)
Diffstat (limited to 'source4/librpc/ndr/libndr.h')
-rw-r--r--source4/librpc/ndr/libndr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index e5d8b0e593..93cc67eaad 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -46,6 +46,9 @@ struct ndr_pull {
uint32_t data_size;
uint32_t offset;
+ uint32_t relative_base_offset;
+ struct ndr_token_list *relative_base_list;
+
struct ndr_token_list *relative_list;
struct ndr_token_list *array_size_list;
struct ndr_token_list *array_length_list;
@@ -69,6 +72,9 @@ struct ndr_push {
uint32_t alloc_size;
uint32_t offset;
+ uint32_t relative_base_offset;
+ struct ndr_token_list *relative_base_list;
+
struct ndr_token_list *switch_list;
struct ndr_token_list *relative_list;