X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=66552a396486133a7642366152f7d98b72151bf1;hb=c1a772dd16c825866b0b1b4cfa5c1ba57a9fa48f;hp=dd41ede819a04c27cc15407167f7f4106fa8bbc0;hpb=03791bf340ec2044c118b5ec8ab9332282e5e806;p=pspp diff --git a/src/libpspp/str.h b/src/libpspp/str.h index dd41ede819..66552a3964 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -122,10 +122,12 @@ char *ss_end (struct substring); int ss_at (struct substring, size_t idx); int ss_first (struct substring); int ss_last (struct substring); +bool ss_starts_with (struct substring, struct substring prefix); bool ss_ends_with (struct substring, struct substring suffix); size_t ss_span (struct substring, struct substring skip_set); size_t ss_cspan (struct substring, struct substring stop_set); size_t ss_find_byte (struct substring, char); +size_t ss_find_substring (struct substring, struct substring); int ss_compare (struct substring, struct substring); int ss_compare_case (struct substring, struct substring); int ss_equals (struct substring, struct substring);