diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-24 12:50:43 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-24 17:55:40 +0100 |
commit | 18b30e5646d7a484c1714eac9b9ce1f8c1a8241a (patch) | |
tree | 378d1ebe074f898e28a70f210ec1033ab4ebbd9c /libcli/ldap/ldap_ndr.h | |
parent | 7aaec963c1764869b042240fb5b5d6a339ee052b (diff) | |
download | samba-18b30e5646d7a484c1714eac9b9ce1f8c1a8241a.tar.gz samba-18b30e5646d7a484c1714eac9b9ce1f8c1a8241a.tar.bz2 samba-18b30e5646d7a484c1714eac9b9ce1f8c1a8241a.zip |
libcli/ldap: move ldap_ndr from source4/ to toplevel
metze
Diffstat (limited to 'libcli/ldap/ldap_ndr.h')
-rw-r--r-- | libcli/ldap/ldap_ndr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libcli/ldap/ldap_ndr.h b/libcli/ldap/ldap_ndr.h new file mode 100644 index 0000000000..ee1f702c78 --- /dev/null +++ b/libcli/ldap/ldap_ndr.h @@ -0,0 +1,12 @@ +#ifndef __LIBCLI_LDAP_LDAP_NDR_H__ +#define __LIBCLI_LDAP_LDAP_NDR_H__ + +#include "librpc/gen_ndr/ndr_misc.h" + +char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value); +char *ldap_encode_ndr_dom_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid); +char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, struct GUID *guid); +NTSTATUS ldap_decode_ndr_GUID(TALLOC_CTX *mem_ctx, struct ldb_val val, struct GUID *guid); + +#endif /* __LIBCLI_LDAP_LDAP_NDR_H__ */ + |