diff options
author | Ben Pfaff <blp@ovn.org> | 2017-04-30 14:10:29 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-05-03 08:22:48 -0700 |
commit | 61be08e4ed9323d7991c5110ee586608c5cf4bbb (patch) | |
tree | d9fd2380ae3987a19fe9e819b5e3837a8a19b6c5 /lib/uuid.h | |
parent | 2052f3a1d6efb81c93a7ea1db17b4080940cff8f (diff) | |
download | openvswitch-61be08e4ed9323d7991c5110ee586608c5cf4bbb.tar.gz |
uuid: New function uuid_is_partial_match().
This will have another caller in an upcoming commit.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'lib/uuid.h')
-rw-r--r-- | lib/uuid.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/uuid.h b/lib/uuid.h index 605ec17b7..10bc8b541 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2009, 2010, 2016 Nicira, Inc. +/* Copyright (c) 2008, 2009, 2010, 2016, 2017 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,6 +65,7 @@ int uuid_compare_3way(const struct uuid *, const struct uuid *); bool uuid_from_string(struct uuid *, const char *); bool uuid_from_string_prefix(struct uuid *, const char *); int uuid_is_partial_string(const char *); +int uuid_is_partial_match(const struct uuid *, const char *match); void uuid_set_bits_v4(struct uuid *); #endif /* uuid.h */ |