X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=77d918e28ce8881cf7f6fa5ca8765c4952ef566e;hb=6fdf428d72c5695c1bc21a7158f75a542d96df8b;hp=6f34c200d054d59c3da3f453db211d198fd798fe;hpb=b990f5c31bc831e588a86f9f4826387c6843c989;p=pspp-builds.git diff --git a/src/libpspp/str.h b/src/libpspp/str.h index 6f34c200..77d918e2 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -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 *);