summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap/ldap_ndr.h
blob: dfbb723c36604843563c3907de6d1c1814abdfe7 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __LIBCLI_LDAP_LDAP_NDR_H__
#define __LIBCLI_LDAP_LDAP_NDR_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__ */