summaryrefslogtreecommitdiff
path: root/librpc/ndr/uuid.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-18 17:44:24 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-20 13:54:07 +0100
commitb4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3 (patch)
treed5439c01bf41cd1d33371ad669adb00d2073e038 /librpc/ndr/uuid.c
parentf92b05b95575d45e91dcd2885fb4e2d202deb9ae (diff)
downloadsamba-b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3.tar.gz
libndr: Rename policy_handle_empty to ndr_policy_handle_empty.
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
Diffstat (limited to 'librpc/ndr/uuid.c')
-rw-r--r--librpc/ndr/uuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/ndr/uuid.c b/librpc/ndr/uuid.c
index 9ebccfe29a2..f4405058734 100644
--- a/librpc/ndr/uuid.c
+++ b/librpc/ndr/uuid.c
@@ -331,14 +331,14 @@ _PUBLIC_ char *NS_GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid)
guid->node[4], guid->node[5]);
}
-_PUBLIC_ bool policy_handle_empty(const struct policy_handle *h)
+_PUBLIC_ bool ndr_policy_handle_empty(const struct policy_handle *h)
{
return (h->handle_type == 0 && GUID_all_zero(&h->uuid));
}
_PUBLIC_ bool is_valid_policy_hnd(const struct policy_handle *hnd)
{
- return !policy_handle_empty(hnd);
+ return !ndr_policy_handle_empty(hnd);
}
_PUBLIC_ bool ndr_policy_handle_equal(const struct policy_handle *hnd1,