summaryrefslogtreecommitdiff
path: root/lib/dynamic-string.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-05-09 12:15:11 -0700
committerBen Pfaff <blp@nicira.com>2012-05-10 11:44:05 -0700
commit06d7ae7d9ba1c09c3ce5ad805a89ea564449795d (patch)
tree6f5542485ad370e636c83fbe444ebb206d0fe463 /lib/dynamic-string.h
parent79d4ffe2c977c9750b77f869be185b5bedd08c2d (diff)
downloadopenvswitch-06d7ae7d9ba1c09c3ce5ad805a89ea564449795d.tar.gz
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>
Diffstat (limited to 'lib/dynamic-string.h')
-rw-r--r--lib/dynamic-string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dynamic-string.h b/lib/dynamic-string.h
index 871021572..098caafe7 100644
--- a/lib/dynamic-string.h
+++ b/lib/dynamic-string.h
@@ -62,6 +62,7 @@ void ds_put_hex_dump(struct ds *ds, const void *buf_, size_t size,
uintptr_t ofs, bool ascii);
int ds_get_line(struct ds *, FILE *);
int ds_get_preprocessed_line(struct ds *, FILE *);
+int ds_get_test_line(struct ds *, FILE *);
char *ds_cstr(struct ds *);
const char *ds_cstr_ro(const struct ds *);