X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fmultipath.h;h=0673050253a0506aae415546e73b6f2d9e4ade76;hb=003ce655b7116d18c86a74c50391e54990346931;hp=97b51617f6c99896bf0119dee58b5c6fd2654565;hpb=bcd2633a5be6d9b1dc4a42425f48d72423890573;p=sliver-openvswitch.git diff --git a/lib/multipath.h b/lib/multipath.h index 97b51617f..067305025 100644 --- a/lib/multipath.h +++ b/lib/multipath.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011, 2012 Nicira, Inc. + * Copyright (c) 2010, 2011, 2012, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ #define MULTIPATH_H 1 #include +#include "compiler.h" #include "ofp-errors.h" struct ds; @@ -42,7 +43,8 @@ void multipath_to_nxast(const struct ofpact_multipath *, void multipath_execute(const struct ofpact_multipath *, struct flow *, struct flow_wildcards *); -void multipath_parse(struct ofpact_multipath *, const char *); +char *multipath_parse(struct ofpact_multipath *, const char *) + WARN_UNUSED_RESULT; void multipath_format(const struct ofpact_multipath *, struct ds *); #endif /* multipath.h */