dynamic-string: New function ds_get_test_line().
authorBen Pfaff <blp@nicira.com>
Wed, 9 May 2012 19:15:11 +0000 (12:15 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 10 May 2012 18:44:05 +0000 (11:44 -0700)
commit06d7ae7d9ba1c09c3ce5ad805a89ea564449795d
tree6f5542485ad370e636c83fbe444ebb206d0fe463
parent79d4ffe2c977c9750b77f869be185b5bedd08c2d
dynamic-string: New function ds_get_test_line().

This eliminates some code duplication.   An upcoming commit will add
another user.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dynamic-string.c
lib/dynamic-string.h
tests/test-odp.c
utilities/ovs-ofctl.c