diff options
| author | Ben Pfaff <blp@nicira.com> | 2009-12-16 11:28:13 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2009-12-16 11:28:13 -0800 |
| commit | 5f98eed4eb5b75ab02422de1b5dbd5276ad5593d (patch) | |
| tree | 76894db27ce3b572120ffa2c539cf1bfc5295e74 /lib/dynamic-string.h | |
| parent | ffed42ab7320e8804dbc8cac9530397fc65a2c3c (diff) | |
| download | openvswitch-5f98eed4eb5b75ab02422de1b5dbd5276ad5593d.tar.gz | |
dynamic-string: New function ds_cstr_ro().
Diffstat (limited to 'lib/dynamic-string.h')
| -rw-r--r-- | lib/dynamic-string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dynamic-string.h b/lib/dynamic-string.h index 136cedc90..dc81fb3a7 100644 --- 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 *); |
