diff options
Diffstat (limited to 'source4/librpc/ndr/ndr.c')
-rw-r--r-- | source4/librpc/ndr/ndr.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c index 2e350aa0da..549230bb29 100644 --- a/source4/librpc/ndr/ndr.c +++ b/source4/librpc/ndr/ndr.c @@ -642,32 +642,6 @@ NTSTATUS ndr_check_array_length(struct ndr_pull *ndr, void *p, uint32_t length) } /* - store a switch value - */ -NTSTATUS ndr_push_set_switch_value(struct ndr_push *ndr, void *p, uint32_t val) -{ - return ndr_token_store(ndr, &ndr->switch_list, p, val); -} - -NTSTATUS ndr_pull_set_switch_value(struct ndr_pull *ndr, void *p, uint32_t val) -{ - return ndr_token_store(ndr, &ndr->switch_list, p, val); -} - -/* - retrieve a switch value - */ -uint32_t ndr_push_get_switch_value(struct ndr_push *ndr, void *p) -{ - return ndr_token_peek(&ndr->switch_list, p); -} - -uint32_t ndr_pull_get_switch_value(struct ndr_pull *ndr, void *p) -{ - return ndr_token_peek(&ndr->switch_list, p); -} - -/* pull a relative object - stage1 called during SCALARS processing */ |