[ovs-git] Open vSwitch: Make the string parameters const for do_flow_mod__() (master)

dev at openvswitch.org dev at openvswitch.org
Mon Feb 27 18:14:48 UTC 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  a7fc17440c2d5ca3963e3b94b16672ad1afd8f12 (commit)
       via  541bc79f73add327072470c9bc3febb4195cdb3c (commit)
      from  000ad52df72ab5f21f39cdb44aec42c02b6c26c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a7fc17440c2d5ca3963e3b94b16672ad1afd8f12
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a7fc17440c2d5ca3963e3b94b16672ad1afd8f12
Author: Simon Horman <horms at verge.net.au>
Make the string parameters const for do_flow_mod__()
Make the string parameter of parse_ofp_flow_stats_request_str() and
parse_ofp_flow_mod_str() const

* Both parse_ofp_flow_stats_request_str() and parse_ofp_flow_mod_str()
  only pass their string parameter to it to parse_ofp_str() which treats
  the parameter as const.
* do_flow_mod__() may pass a const string as the string argument to
  parse_ofp_flow_stats_request_str() and parse_ofp_flow_mod_str()

Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>

commit 541bc79f73add327072470c9bc3febb4195cdb3c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=541bc79f73add327072470c9bc3febb4195cdb3c
Author: Ben Pfaff <blp at nicira.com>
dynamic-string: Document a few functions.
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 lib/dynamic-string.c |   13 ++++++++++++-
 lib/dynamic-string.h |    9 ++++++++-
 lib/ofp-parse.c      |    6 +++---
 lib/ofp-parse.h      |    4 ++--
 4 files changed, 25 insertions(+), 7 deletions(-)

Open vSwitch

More information about the git mailing list