X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=ff00b3593356580bd3a2888a1d2c26ebaec4c217;hb=51996c07fc2b308ad29dcbaa93e4d5d3d21b3331;hp=0d48bd9bf02229a15b920e2c33280ffa326f62b8;hpb=d1500de2094e42e1d461ecfdd0b69fca4af511bf;p=pspp-builds.git diff --git a/src/libpspp/str.h b/src/libpspp/str.h index 0d48bd9b..ff00b359 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -105,6 +105,7 @@ bool ss_tokenize (struct substring src, struct substring delimiters, size_t *save_idx, struct substring *token); void ss_advance (struct substring *, size_t); bool ss_match_char (struct substring *, char); +int ss_match_char_in (struct substring *, struct substring); bool ss_match_string (struct substring *, const struct substring); int ss_get_char (struct substring *); size_t ss_get_chars (struct substring *, size_t cnt, struct substring *);