diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-12-19 03:59:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-12-19 03:59:27 +0000 |
commit | db22c0c5f94ecc12339efbd3950fe1c5648fde76 (patch) | |
tree | 45a72a74ecf950e1539771622faf9ddc7ae7ea0f /source4/lib/util_uuid.c | |
parent | f46072d2232c76b8ec29ce7d76b81fe7bbb4bc26 (diff) | |
download | samba-db22c0c5f94ecc12339efbd3950fe1c5648fde76.tar.gz samba-db22c0c5f94ecc12339efbd3950fe1c5648fde76.tar.bz2 samba-db22c0c5f94ecc12339efbd3950fe1c5648fde76.zip |
added a bunch of alias functions in samr.idl based on work by Kai.
(This used to be commit f740b02ac36780740700909da2bcdf672cb146cb)
Diffstat (limited to 'source4/lib/util_uuid.c')
-rw-r--r-- | source4/lib/util_uuid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/util_uuid.c b/source4/lib/util_uuid.c index c7858aae72..6a705a4f30 100644 --- a/source4/lib/util_uuid.c +++ b/source4/lib/util_uuid.c @@ -54,3 +54,9 @@ BOOL uuid_equal(const struct GUID *u1, const struct GUID *u2) } return True; } + +BOOL policy_handle_empty(struct policy_handle *h) +{ + return (h->handle_type == 0 && uuid_all_zero(&h->uuid)); +} + |