diff -r 09ad5d8ab860 -r 094eff4cfc03 src/regex_parser.h --- a/src/regex_parser.h Thu Jul 02 10:22:33 2026 +0200 +++ b/src/regex_parser.h Thu Jul 02 12:44:29 2026 +0200 @@ -40,26 +40,26 @@ #endif typedef struct { - string_list_t* pattern_list; /* even entries: start ; odd entries: end */ + string_list* pattern_list; /* even entries: start ; odd entries: end */ regex_t* compiled_patterns; size_t compiled_pattern_count; unsigned int pattern_match; /* save position of end pattern to match - NULL when a start pattern shall match first */ unsigned int matched_counted; bool count_chars; -} regex_parser_t; +} regex_parser; #ifdef _cplusplus extern "C" { #endif -regex_parser_t* new_regex_parser_t(); -void destroy_regex_parser_t(regex_parser_t*); -void regex_parser_reset(regex_parser_t* parser); +regex_parser* new_regex_parser(); +void destroy_regex_parser(regex_parser*); +void regex_parser_reset(regex_parser* parser); -bool regex_parser_matching(regex_parser_t*); -bool regex_compile_all(regex_parser_t*); -int regex_parser_do(regex_parser_t*, char*); +bool regex_parser_matching(regex_parser*); +bool regex_compile_all(regex_parser*); +int regex_parser_do(regex_parser*, char*); #ifdef _cplusplus }