X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Ftag.h;h=9cb581d23a834204b091fb044cd2f96ae12aacdc;hb=9e1fd49b0cf494315c82f27c651486ef82e83446;hp=f645dc91a16616199b25d96df7b93dc118e97947;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=sliver-openvswitch.git diff --git a/lib/tag.h b/lib/tag.h index f645dc91a..9cb581d23 100644 --- a/lib/tag.h +++ b/lib/tag.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Nicira Networks. + * Copyright (c) 2008, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,7 +75,7 @@ static inline bool tag_intersects(tag_type, tag_type); static inline bool tag_is_valid(tag_type); /* Returns true if 'a' and 'b' have at least one tag in common, - * false if their set of tags is disjoint. . */ + * false if their set of tags is disjoint. */ static inline bool tag_intersects(tag_type a, tag_type b) { @@ -107,6 +107,7 @@ struct tag_set { void tag_set_init(struct tag_set *); void tag_set_add(struct tag_set *, tag_type); +void tag_set_union(struct tag_set *, const struct tag_set *); static inline bool tag_set_is_empty(const struct tag_set *); static inline bool tag_set_intersects(const struct tag_set *, tag_type);