csv: Better support separators other than comma or tab.
[pspp] / src / libpspp / str.h
index a134079f90dd52f7c359d7ad4fba3049c5c85203..64da85629bdc253717745b755fbeff860afa1cd1 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2009, 2010 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -32,7 +32,6 @@
 /* Miscellaneous. */
 
 void buf_reverse (char *, size_t);
-char *buf_find_reverse (const char *, size_t, const char *, size_t);
 int buf_compare_case (const char *, const char *, size_t);
 int buf_compare_rpad (const char *, size_t, const char *, size_t);
 void buf_copy_lpad (char *, size_t, const char *, size_t, char pad);
@@ -49,8 +48,6 @@ void str_lowercase (char *);
 
 bool str_format_26adic (unsigned long int number, char buffer[], size_t);
 
-char *spprintf (char *dst, const char *format, ...);
-
 void *mempset (void *, int, size_t);
 \f
 /* Common character classes for use with substring and string functions. */
@@ -203,6 +200,7 @@ char *ds_xstrdup (const struct string *);
 
 size_t ds_capacity (const struct string *);
 char *ds_cstr (const struct string *);
+char *ds_steal_cstr (struct string *);
 
 /* File input. */
 bool ds_read_line (struct string *, FILE *, size_t max_length);