summaryrefslogtreecommitdiff
path: root/source4/libcli/ndr
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-03 08:37:48 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-03 08:37:48 +0000
commitdfc43cdf14f3752b6802e04f3571b5f925297d58 (patch)
tree5b7df9f2d5a0209dd3b3a5228cd99ddf36a7f208 /source4/libcli/ndr
parentdc2ffe07a8b25c117c7778fb706274198c11c2cc (diff)
downloadsamba-dfc43cdf14f3752b6802e04f3571b5f925297d58.tar.gz
samba-dfc43cdf14f3752b6802e04f3571b5f925297d58.tar.bz2
samba-dfc43cdf14f3752b6802e04f3571b5f925297d58.zip
added a helper function to make building rpc functions a bit easier
(This used to be commit a8feb80438680b9ec399c908987c58c4a6a998e6)
Diffstat (limited to 'source4/libcli/ndr')
-rw-r--r--source4/libcli/ndr/libndr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/ndr/libndr.h b/source4/libcli/ndr/libndr.h
index d9d18299ab..0205a64552 100644
--- a/source4/libcli/ndr/libndr.h
+++ b/source4/libcli/ndr/libndr.h
@@ -84,6 +84,10 @@ struct ndr_push {
} \
} while (0)
+/* these are used when generic fn pointers are needed for ndr push/pull fns */
+typedef NTSTATUS (*ndr_push_fn_t)(struct ndr_push *, void *);
+typedef NTSTATUS (*ndr_pull_fn_t)(struct ndr_pull *, void *);
+
/* now pull in the individual parsers */
#include "libcli/ndr/ndr_sec.h"
#include "libcli/ndr/ndr_echo.h"