Changeset 588 for trunk/src/sh_log_parse_generic.c
- Timestamp:
- Oct 26, 2025, 12:17:47 PM (16 hours ago)
- File:
-
- 1 edited
-
trunk/src/sh_log_parse_generic.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_log_parse_generic.c
r481 r588 22 22 #include <time.h> 23 23 24 /* Debian/Ubuntu: libpcre3-dev */ 25 #ifdef HAVE_PCRE_PCRE_H 26 #include <pcre/pcre.h> 24 /* Debian/Ubuntu: libpcre2-dev */ 25 #define PCRE2_CODE_UNIT_WIDTH 8 26 #ifdef HAVE_PCRE2_PCRE2_H 27 #include <pcre2/pcre2.h> 27 28 #else 28 #include <pcre .h>29 #include <pcre2.h> 29 30 #endif 30 31 … … 34 35 35 36 struct sh_fileinfo_generic { 36 pcre * line_regex;37 int * line_ovector;/* captured substrings */38 int line_ovecnum; /* how many captured */37 pcre2_code * line_regex; 38 pcre2_match_data * line_match_data; /* captured substrings */ 39 int line_ovecnum; /* how many captured */ 39 40 40 41 int pos_host;
Note:
See TracChangeset
for help on using the changeset viewer.