summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-03-25 13:40:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:16 -0500
commit5a9ceee7a524293c67d4c32edde9da32a877ecce (patch)
tree54a0bb998f5d8409cf173d3d2559520e65d7f383 /source4/librpc/ndr/libndr.h
parent2fa732c6251f6dd23c3c8ef1facf638c9c531bdd (diff)
downloadsamba-5a9ceee7a524293c67d4c32edde9da32a877ecce.tar.gz
samba-5a9ceee7a524293c67d4c32edde9da32a877ecce.tar.bz2
samba-5a9ceee7a524293c67d4c32edde9da32a877ecce.zip
r6061: add start of compression support in our rpc code
this is not complete cuurently... but I want other people to test it and help me on finishing it. (try to change the #if 0 in torture/rpc/drsuapi.c into #if 1) metze (This used to be commit 335adef37082a78e0426decb715629bd778e6582)
Diffstat (limited to 'source4/librpc/ndr/libndr.h')
-rw-r--r--source4/librpc/ndr/libndr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index 4df3e7f248..3cc25b0ef2 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -152,6 +152,7 @@ enum ndr_err_code {
NDR_ERR_CHARCNV,
NDR_ERR_LENGTH,
NDR_ERR_SUBCONTEXT,
+ NDR_ERR_COMPRESSION,
NDR_ERR_STRING,
NDR_ERR_VALIDATE,
NDR_ERR_BUFSIZE,
@@ -160,6 +161,10 @@ enum ndr_err_code {
NDR_ERR_TOKEN
};
+enum ndr_compression_alg {
+ NDR_COMPRESSION_ZLIB
+};
+
/*
flags passed to control parse flow
*/