X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-util.h;h=ecd77cc4629fe04928f932fa96447b4847bdec5c;hb=0ff2282245a87f253843bf357988d7230139888f;hp=a658df113b0f80cd3f67f3d37b7066db77bbf16c;hpb=93996add1ca50e85e4b3938133fcac15b56fbf01;p=sliver-openvswitch.git diff --git a/lib/ofp-util.h b/lib/ofp-util.h index a658df113..ecd77cc46 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -547,4 +547,7 @@ int ofputil_decode_error_msg(const struct ofp_header *, size_t *payload_ofs); void ofputil_format_error(struct ds *, int error); char *ofputil_error_to_string(int error); +/* Handy utility for parsing flows and actions. */ +bool ofputil_parse_key_value(char **stringp, char **keyp, char **valuep); + #endif /* ofp-util.h */