aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic-string.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-07-15 10:57:17 -0700
committerBen Pfaff <blp@nicira.com>2009-07-16 09:17:06 -0700
commit4871855420190bc83fda294d7e815bd4e9c8531a (patch)
tree53a3db6935a1439401820d7782390e989f86ccf9 /lib/dynamic-string.h
parenta8b5f8b423e5d54ba8bb6e68cc5b9dc22215d302 (diff)
New function ds_steal_cstr().
Diffstat (limited to 'lib/dynamic-string.h')
-rw-r--r--lib/dynamic-string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dynamic-string.h b/lib/dynamic-string.h
index 1d006ff0..a44e0b30 100644
--- a/lib/dynamic-string.h
+++ b/lib/dynamic-string.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008 Nicira Networks.
+ * Copyright (c) 2008, 2009 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,6 +54,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 *);
+char *ds_steal_cstr(struct ds *);
void ds_destroy(struct ds *);
int ds_last(const struct ds *);