Changeset 47ab9a9 for lib/misc.h


Ignore:
Timestamp:
2015-11-27T23:42:00Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
31d9930
Parents:
d088ee8
Message:

misc.c: Add a str_reject_chars function, use it in otr_filter_colors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.h

    rd088ee8 r47ab9a9  
    150150G_MODULE_EXPORT int truncate_utf8(char *string, int maxlen);
    151151G_MODULE_EXPORT gboolean parse_int64(char *string, int base, guint64 *number);
     152G_MODULE_EXPORT char *str_reject_chars(char *string, const char *reject, char replacement);
    152153
    153154#endif
Note: See TracChangeset for help on using the changeset viewer.