From 61be08e4ed9323d7991c5110ee586608c5cf4bbb Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 30 Apr 2017 14:10:29 -0700 Subject: uuid: New function uuid_is_partial_match(). This will have another caller in an upcoming commit. Signed-off-by: Ben Pfaff Acked-by: Andy Zhou Acked-by: Russell Bryant --- lib/uuid.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/uuid.h') 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 */ -- cgit v1.2.1