diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-13 15:01:28 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-13 15:01:28 +0200 |
commit | e779345bca36c2dfd11dea773e4b8aa68e4a3863 (patch) | |
tree | a0b006d2c8a31884807394bd9d385a0e2ae6b52d /source3/librpc/ndr/ndr_basic.c | |
parent | de0aa7850c57aadef72659651e8de33d644706fa (diff) | |
download | samba-e779345bca36c2dfd11dea773e4b8aa68e4a3863.tar.gz samba-e779345bca36c2dfd11dea773e4b8aa68e4a3863.tar.bz2 samba-e779345bca36c2dfd11dea773e4b8aa68e4a3863.zip |
Import changes from upstream libndr.
Diffstat (limited to 'source3/librpc/ndr/ndr_basic.c')
-rw-r--r-- | source3/librpc/ndr/ndr_basic.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/librpc/ndr/ndr_basic.c b/source3/librpc/ndr/ndr_basic.c index d13bf48534..97f75051b7 100644 --- a/source3/librpc/ndr/ndr_basic.c +++ b/source3/librpc/ndr/ndr_basic.c @@ -447,22 +447,6 @@ _PUBLIC_ enum ndr_err_code ndr_push_array_uint8(struct ndr_push *ndr, int ndr_fl } /* - save the current position - */ -_PUBLIC_ void ndr_push_save(struct ndr_push *ndr, struct ndr_push_save *save) -{ - save->offset = ndr->offset; -} - -/* - restore the position - */ -_PUBLIC_ void ndr_push_restore(struct ndr_push *ndr, struct ndr_push_save *save) -{ - ndr->offset = save->offset; -} - -/* push a unique non-zero value if a pointer is non-NULL, otherwise 0 */ _PUBLIC_ enum ndr_err_code ndr_push_unique_ptr(struct ndr_push *ndr, const void *p) @@ -846,4 +830,3 @@ _PUBLIC_ uint32_t ndr_size_DATA_BLOB(int ret, const DATA_BLOB *data, int flags) if (!data) return ret; return ret + data->length; } - |