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
Implement OFPC_FRAG_DROP fragment handling policy.
[sliver-openvswitch.git]
/
include
/
dynamic-string.h
diff --git
a/include/dynamic-string.h
b/include/dynamic-string.h
index
e43d006
..
ea69c6a
100644
(file)
--- a/
include/dynamic-string.h
+++ b/
include/dynamic-string.h
@@
-49,6
+49,7
@@
struct ds {
#define DS_EMPTY_INITIALIZER { NULL, 0, 0 }
void ds_init(struct ds *);
+void ds_clear(struct ds *);
void ds_reserve(struct ds *, size_t min_length);
void ds_put_char(struct ds *, char);
void ds_put_cstr(struct ds *, const char *);