From b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 18 Mar 2012 17:44:24 +0100 Subject: libndr: Rename policy_handle_empty to ndr_policy_handle_empty. This makes the NDR namespace a bit clearer, in preparation of ABI checking. --- librpc/ndr/uuid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'librpc/ndr/uuid.c') diff --git a/librpc/ndr/uuid.c b/librpc/ndr/uuid.c index 9ebccfe29a..f440505873 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, -- cgit