diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
commit | 8b2630a82fbecfd57fa38aebb397a755936690e5 (patch) | |
tree | a9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/status_counter.h | |
parent | e57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff) | |
download | lighttpd-master.tar.gz |
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/status_counter.h')
-rw-r--r-- | src/status_counter.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/status_counter.h b/src/status_counter.h deleted file mode 100644 index 34d39a76..00000000 --- a/src/status_counter.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef _STATUS_COUNTER_H_ -#define _STATUS_COUNTER_H_ - -#include <sys/types.h> - -#include "array.h" - -LI_EXPORT void status_counter_init(void); -LI_EXPORT void status_counter_free(void); -LI_EXPORT array * status_counter_get_array(void); -LI_EXPORT data_integer * status_counter_get_counter(const char *s, size_t len); -LI_EXPORT int status_counter_inc(const char *s, size_t len); -LI_EXPORT int status_counter_dec(const char *s, size_t len); -LI_EXPORT int status_counter_set(const char *s, size_t len, int val); - -#define COUNTER_INC(di) if (di) di->value++; -#define COUNTER_DEC(di) if (di && di->value > 0) di->value--; -#define COUNTER_SET(di, val) if (di) di->value = val; - -#endif |