diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-04 13:13:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:36:30 -0500 |
commit | 4729c3db26f719cd936825d91b2514df7ac0e61b (patch) | |
tree | 4189ca9863f73ed9c9041f5572dbd98c154b018f /source4/lib/tdr | |
parent | 52d9dbe75c088922052a7e54213963ed90f1c021 (diff) | |
download | samba-4729c3db26f719cd936825d91b2514df7ac0e61b.tar.gz samba-4729c3db26f719cd936825d91b2514df7ac0e61b.tar.bz2 samba-4729c3db26f719cd936825d91b2514df7ac0e61b.zip |
r10025: Add some utility functions for storing/loading tdr encoded data
(This used to be commit bcd433bfc1450317b75e22942dee1c42bb24ae79)
Diffstat (limited to 'source4/lib/tdr')
-rw-r--r-- | source4/lib/tdr/tdr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdr/tdr.h b/source4/lib/tdr/tdr.h index 9d9d2b8adf..a37a1efaaa 100644 --- a/source4/lib/tdr/tdr.h +++ b/source4/lib/tdr/tdr.h @@ -52,3 +52,6 @@ struct tdr_print { (s) = talloc_array_size(tdr, sizeof(*(s)), n); \ if ((n) && !(s)) return NT_STATUS_NO_MEMORY; \ } while (0) + +typedef NTSTATUS (*tdr_push_fn_t) (struct tdr_push *, void *); +typedef NTSTATUS (*tdr_pull_fn_t) (struct tdr_pull *, void *); |