diff options
author | Günther Deschner <gd@samba.org> | 2011-02-08 00:04:20 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-08 09:52:56 +0100 |
commit | be5edba117d3af9c9289bc5d37e7e037cb0a05f1 (patch) | |
tree | bf97dc0608c0ce7076d22d564089f5cc66087f0e /source3/lib/util.c | |
parent | 84dbc2a82de0531c49fa7aa16fbdf8aba6324aac (diff) | |
download | samba-be5edba117d3af9c9289bc5d37e7e037cb0a05f1.tar.gz samba-be5edba117d3af9c9289bc5d37e7e037cb0a05f1.tar.bz2 samba-be5edba117d3af9c9289bc5d37e7e037cb0a05f1.zip |
libndr: share some uuid helpers.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 4baeda4d0a..08a24ec722 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2918,23 +2918,6 @@ void *talloc_zeronull(const void *context, size_t size, const char *name) } #endif -bool is_valid_policy_hnd(const struct policy_handle *hnd) -{ - struct policy_handle tmp; - ZERO_STRUCT(tmp); - return (memcmp(&tmp, hnd, sizeof(tmp)) != 0); -} - -bool policy_hnd_equal(const struct policy_handle *hnd1, - const struct policy_handle *hnd2) -{ - if (!hnd1 || !hnd2) { - return false; - } - - return (memcmp(hnd1, hnd2, sizeof(*hnd1)) == 0); -} - /**************************************************************** strip off leading '\\' from a hostname ****************************************************************/ |