[mod_cgi] skip local-redir handling if to self (fixes #2779, #2108)
[lighttpd.git] / src / status_counter.h
blob5b1ad00f41db95895817b919c6e3a15515399f22
1 #ifndef _STATUS_COUNTER_H_
2 #define _STATUS_COUNTER_H_
3 #include "first.h"
5 #include "array.h"
6 #include "base.h"
8 #include <sys/types.h>
10 data_integer *status_counter_get_counter(server *srv, const char *s, size_t len);
11 int status_counter_inc(server *srv, const char *s, size_t len);
12 int status_counter_dec(server *srv, const char *s, size_t len);
13 int status_counter_set(server *srv, const char *s, size_t len, int val);
15 #endif