Clean up output subsystem.
[pspp-builds.git] / src / libpspp / str.h
index 6f34c200d054d59c3da3f453db211d198fd798fe..77d918e28ce8881cf7f6fa5ca8765c4952ef566e 100644 (file)
@@ -144,7 +144,9 @@ int ds_ltrim_spaces (struct string *);
 void ds_trim_spaces (struct string *);
 bool ds_chomp (struct string *, char);
 bool ds_separate (const struct string *src, struct string *token,
-                  const char *delimiters, int *save_idx);
+                  const char *delimiters, size_t *save_idx);
+bool ds_tokenize (const struct string *src, struct string *token,
+                  const char *delimiters, size_t *save_idx);
 
 /* Inspectors. */
 bool ds_is_empty (const struct string *);