projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: Fix --disable-pcre2
[privoxy.git]
/
jcc.h
diff --git
a/jcc.h
b/jcc.h
index
df513b8
..
dbe05b7
100644
(file)
--- a/
jcc.h
+++ b/
jcc.h
@@
-41,8
+41,13
@@
struct file_list;
/* Global variables */
#ifdef FEATURE_STATISTICS
/* Global variables */
#ifdef FEATURE_STATISTICS
+#if defined(FEATURE_PTHREAD) || defined(_WIN32)
+extern unsigned long long number_of_requests_received;
+extern unsigned long long number_of_requests_blocked;
+#else
extern int urls_read;
extern int urls_rejected;
extern int urls_read;
extern int urls_rejected;
+#endif
#endif /*def FEATURE_STATISTICS*/
extern struct client_states clients[1];
#endif /*def FEATURE_STATISTICS*/
extern struct client_states clients[1];
@@
-86,6
+91,9
@@
extern privoxy_mutex_t external_filter_mutex;
extern privoxy_mutex_t client_tags_mutex;
#endif
extern privoxy_mutex_t client_tags_mutex;
#endif
+#ifdef FEATURE_STATISTICS
+extern privoxy_mutex_t block_statistics_mutex;
+#endif
#ifdef FEATURE_EXTENDED_STATISTICS
extern privoxy_mutex_t filter_statistics_mutex;
extern privoxy_mutex_t block_reason_statistics_mutex;
#ifdef FEATURE_EXTENDED_STATISTICS
extern privoxy_mutex_t filter_statistics_mutex;
extern privoxy_mutex_t block_reason_statistics_mutex;