X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fuuid.h;h=37e01d091158f54f0bc74322254498fe400648d0;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=5dcaa25d8ffd21d1822a2951d8ae6d288ee39a64;hpb=d918d9d1128a98e4b2a398a501f541554fed3be8;p=sliver-openvswitch.git diff --git a/lib/uuid.h b/lib/uuid.h index 5dcaa25d8..37e01d091 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2009 Nicira Networks +/* Copyright (c) 2008, 2009, 2010 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,7 +74,9 @@ uuid_equals(const struct uuid *a, const struct uuid *b) void uuid_init(void); void uuid_generate(struct uuid *); void uuid_zero(struct uuid *); +bool uuid_is_zero(const struct uuid *); 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 *); -#endif /* vswitchd/cfgdb.h */ +#endif /* uuid.h */