summaryrefslogtreecommitdiffstats
path: root/source/lib/tdr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-04 13:13:47 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-09-04 13:13:47 +0000
commitf538c09353c9a37bde51b25fc9495d675db05b7c (patch)
treeb29e225cdac32afe40b50dee6ea4e0f0e4bb48c7 /source/lib/tdr
parent800f101ffef8b7d617be47b954af6fad4eaaf902 (diff)
downloadsamba-f538c09353c9a37bde51b25fc9495d675db05b7c.tar.gz
samba-f538c09353c9a37bde51b25fc9495d675db05b7c.tar.xz
samba-f538c09353c9a37bde51b25fc9495d675db05b7c.zip
r10025: Add some utility functions for storing/loading tdr encoded data
Diffstat (limited to 'source/lib/tdr')
-rw-r--r--source/lib/tdr/tdr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/tdr/tdr.h b/source/lib/tdr/tdr.h
index 9d9d2b8adf9..a37a1efaaa8 100644
--- a/source/lib/tdr/tdr.h
+++ b/source/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 *);