summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-04-29 19:16:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:21 -0500
commit14b63614fae318b46539706318dcd3954836172a (patch)
tree1e7669cc131f46b14b47fafc2f4e2367ed2fa82b /source4/librpc/ndr/libndr.h
parentb5c8b7e7dd50a9c24ffbcca322e8bb4be12d9f38 (diff)
downloadsamba-14b63614fae318b46539706318dcd3954836172a.tar.gz
samba-14b63614fae318b46539706318dcd3954836172a.tar.bz2
samba-14b63614fae318b46539706318dcd3954836172a.zip
r6519: move string handling functions to a seperate file
metze (This used to be commit a29d52817ce943c15f6896b74273df739867c8f7)
Diffstat (limited to 'source4/librpc/ndr/libndr.h')
-rw-r--r--source4/librpc/ndr/libndr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index dd775d62ad..738e5d61c9 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -143,6 +143,7 @@ struct ndr_print {
#define NDR_PRINT_OUT_DEBUG(type, p) NDR_PRINT_FUNCTION_DEBUG(type, NDR_OUT, p)
#define NDR_PRINT_IN_DEBUG(type, p) NDR_PRINT_FUNCTION_DEBUG(type, NDR_IN | NDR_SET_VALUES, p)
+#define NDR_BE(ndr) (((ndr)->flags & (LIBNDR_FLAG_BIGENDIAN|LIBNDR_FLAG_LITTLE_ENDIAN)) == LIBNDR_FLAG_BIGENDIAN)
enum ndr_err_code {
NDR_ERR_CONFORMANT_SIZE,