From f92b05b95575d45e91dcd2885fb4e2d202deb9ae Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 18 Mar 2012 16:54:21 +0100 Subject: libndr: Rename policy_handle_equal to ndr_policy_handle_equal. This makes the NDR namespace a bit clearer, in preparation of ABI checking. --- librpc/ndr/libndr.h | 2 +- librpc/ndr/uuid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'librpc/ndr') diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index dafce6451a..e68f30369f 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -557,7 +557,7 @@ enum ndr_err_code ndr_push_policy_handle(struct ndr_push *ndr, int ndr_flags, co void ndr_print_policy_handle(struct ndr_print *ndr, const char *name, const struct policy_handle *r); bool policy_handle_empty(const struct policy_handle *h); bool is_valid_policy_hnd(const struct policy_handle *hnd); -bool policy_handle_equal(const struct policy_handle *hnd1, +bool ndr_policy_handle_equal(const struct policy_handle *hnd1, const struct policy_handle *hnd2); void ndr_check_padding(struct ndr_pull *ndr, size_t n); diff --git a/librpc/ndr/uuid.c b/librpc/ndr/uuid.c index 445b6dda7e..9ebccfe29a 100644 --- a/librpc/ndr/uuid.c +++ b/librpc/ndr/uuid.c @@ -341,7 +341,7 @@ _PUBLIC_ bool is_valid_policy_hnd(const struct policy_handle *hnd) return !policy_handle_empty(hnd); } -_PUBLIC_ bool policy_handle_equal(const struct policy_handle *hnd1, +_PUBLIC_ bool ndr_policy_handle_equal(const struct policy_handle *hnd1, const struct policy_handle *hnd2) { if (!hnd1 || !hnd2) { -- cgit