git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dynamic-string: New function ds_cstr_ro().
[sliver-openvswitch.git]
/
lib
/
dynamic-string.h
diff --git
a/lib/dynamic-string.h
b/lib/dynamic-string.h
index
136cedc
..
dc81fb3
100644
(file)
--- a/
lib/dynamic-string.h
+++ b/
lib/dynamic-string.h
@@
-56,6
+56,7
@@
void ds_put_hex_dump(struct ds *ds, const void *buf_, size_t size,
int ds_get_line(struct ds *, FILE *);
char *ds_cstr(struct ds *);
+const char *ds_cstr_ro(const struct ds *);
char *ds_steal_cstr(struct ds *);
void ds_destroy(struct ds *);