bool has_suffix(const char *s, const char *suffix);
bool has_suffix_c(const char *s, int c);
void trim_suffix_c(char *s, int c);
bool has_suffix(const char *s, const char *suffix);
bool has_suffix_c(const char *s, int c);
void trim_suffix_c(char *s, int c);