mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 02:25:40 +08:00
print file descriptors
This commit is contained in:
parent
480f999d21
commit
953959efab
@ -651,6 +651,14 @@ static void * ef_client_threadid(struct node * node){
|
||||
return &((struct clientparam *)node->value) -> threadid;
|
||||
}
|
||||
|
||||
static void * ef_client_clisock(struct node * node){
|
||||
return &((struct clientparam *)node->value) -> clisock;
|
||||
}
|
||||
|
||||
static void * ef_client_remsock(struct node * node){
|
||||
return &((struct clientparam *)node->value) -> remsock;
|
||||
}
|
||||
|
||||
static void * ef_client_starttime(struct node * node){
|
||||
return &((struct clientparam *)node->value) -> time_start;
|
||||
}
|
||||
@ -788,6 +796,8 @@ static struct property prop_client[] = {
|
||||
{prop_client + 17, "maxtrafin", ef_client_maxtrafin64, TYPE_UNSIGNED64, "maximum traffic allowed for download"},
|
||||
{prop_client + 18, "maxtrafout", ef_client_maxtrafout64, TYPE_UNSIGNED64, "maximum traffic allowed for upload"},
|
||||
{prop_client + 19, "pwtype", ef_client_pwtype, TYPE_INTEGER, "type of client password"},
|
||||
{prop_client + 20, "clisock", ef_client_clisock, TYPE_INTEGER, "client socket"},
|
||||
{prop_client + 21, "remsock", ef_client_remsock, TYPE_INTEGER, "remote socket"},
|
||||
{NULL, "next", ef_client_next, TYPE_CLIENT, "next"}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user