mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
legacy counters code removed
This commit is contained in:
1 parent
5543b3052d
commit
f4c6c9d962
16 files changed
+3
-483
No files matched your search
+3
-23
@@ -8,6 +8,9 @@
|
||||
#include <sys/stat.h>
|
||||
#ifndef NOPSTDINT
|
||||
#include "pstdint.h"
|
||||
#else
|
||||
typedef unsigned long uint64_t
|
||||
#define PRINTF_INT64_MODIFIER "l"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -260,15 +263,8 @@ struct trafcount {
|
||||
struct ace *ace;
|
||||
unsigned number;
|
||||
ROTATION type;
|
||||
#ifndef NOPSTDINT
|
||||
uint64_t traf64;
|
||||
uint64_t traflim64;
|
||||
#else
|
||||
unsigned long traf;
|
||||
unsigned long trafgb;
|
||||
unsigned long traflim;
|
||||
unsigned long traflimgb;
|
||||
#endif
|
||||
char * comment;
|
||||
int disabled;
|
||||
time_t cleared;
|
||||
@@ -385,13 +381,8 @@ struct clientparam {
|
||||
|
||||
int res,
|
||||
status;
|
||||
#ifndef NOPSTDINT
|
||||
uint64_t waitclient64,
|
||||
waitserver64;
|
||||
#else
|
||||
unsigned waitclient,
|
||||
waitserver;
|
||||
#endif
|
||||
int pwtype,
|
||||
threadid,
|
||||
weight,
|
||||
@@ -416,26 +407,15 @@ struct clientparam {
|
||||
clibufsize,
|
||||
srvbufsize,
|
||||
msec_start;
|
||||
#ifndef NOPSTDINT
|
||||
uint64_t
|
||||
maxtrafin64,
|
||||
maxtrafout64;
|
||||
#else
|
||||
unsigned
|
||||
maxtrafin,
|
||||
maxtrafout;
|
||||
#endif
|
||||
struct sockaddr_in sinc,
|
||||
sins,
|
||||
req;
|
||||
|
||||
#ifndef NOPSTDINT
|
||||
uint64_t statscli64,
|
||||
statssrv64;
|
||||
#else
|
||||
unsigned long statscli,
|
||||
statssrv;
|
||||
#endif
|
||||
unsigned long
|
||||
nreads,
|
||||
nwrites,
|
||||
|
||||
Reference in new issue
Block a user