diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-18 16:54:21 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-20 13:54:07 +0100 |
commit | f92b05b95575d45e91dcd2885fb4e2d202deb9ae (patch) | |
tree | f2d0008bfac5e4666ca11b9d199bb93f0dec0f9c /librpc | |
parent | 95ca5fbadd390fe056ee2e8f9716ee478904458e (diff) | |
download | samba-f92b05b95575d45e91dcd2885fb4e2d202deb9ae.tar.gz samba-f92b05b95575d45e91dcd2885fb4e2d202deb9ae.tar.bz2 samba-f92b05b95575d45e91dcd2885fb4e2d202deb9ae.zip |
libndr: Rename policy_handle_equal to ndr_policy_handle_equal.
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/ndr/libndr.h | 2 | ||||
-rw-r--r-- | librpc/ndr/uuid.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |