diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-14 10:52:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-14 10:58:31 +0100 |
commit | 05effef1aaeac038b930b29862403a09d5a8db8b (patch) | |
tree | 7533d407f08b30a8b4b08466da0308b79099041a /librpc/ndr | |
parent | e316624ddb8d4e178b03b315bfafd793e6c297c8 (diff) | |
download | samba-05effef1aaeac038b930b29862403a09d5a8db8b.tar.gz |
librpc/ndr: add missing prototypes for relative_short functions
metze
Diffstat (limited to 'librpc/ndr')
-rw-r--r-- | librpc/ndr/libndr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index dbdc0e65bf3..1206c1817d4 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -383,13 +383,16 @@ void ndr_push_restore_relative_base_offset(struct ndr_push *ndr, uint32_t offset enum ndr_err_code ndr_push_setup_relative_base_offset1(struct ndr_push *ndr, const void *p, uint32_t offset); enum ndr_err_code ndr_push_setup_relative_base_offset2(struct ndr_push *ndr, const void *p); enum ndr_err_code ndr_push_relative_ptr1(struct ndr_push *ndr, const void *p); +enum ndr_err_code ndr_push_short_relative_ptr1(struct ndr_push *ndr, const void *p); enum ndr_err_code ndr_push_relative_ptr2(struct ndr_push *ndr, const void *p); +enum ndr_err_code ndr_push_short_relative_ptr2(struct ndr_push *ndr, const void *p); uint32_t ndr_pull_get_relative_base_offset(struct ndr_pull *ndr); void ndr_pull_restore_relative_base_offset(struct ndr_pull *ndr, uint32_t offset); enum ndr_err_code ndr_pull_setup_relative_base_offset1(struct ndr_pull *ndr, const void *p, uint32_t offset); enum ndr_err_code ndr_pull_setup_relative_base_offset2(struct ndr_pull *ndr, const void *p); enum ndr_err_code ndr_pull_relative_ptr1(struct ndr_pull *ndr, const void *p, uint32_t rel_offset); enum ndr_err_code ndr_pull_relative_ptr2(struct ndr_pull *ndr, const void *p); +enum ndr_err_code ndr_pull_relative_ptr_short(struct ndr_pull *ndr, uint16_t *v); size_t ndr_align_size(uint32_t offset, size_t n); struct ndr_pull *ndr_pull_init_blob(const DATA_BLOB *blob, TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *iconv_convenience); enum ndr_err_code ndr_pull_advance(struct ndr_pull *ndr, uint32_t size); |