diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-06 15:02:42 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-06 15:02:42 +0000 |
commit | 28cb9b9d074dbefa1e5de9805ff172f7dbd39da4 (patch) | |
tree | 97e50481ade2a54e0232cc68f8645a7a3184264e /src/common/socket.h | |
parent | 57d0506ec4a06a8330a0f344e77ff9dba1bede5c (diff) | |
download | hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.tar.gz hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.tar.bz2 hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.tar.xz hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.zip |
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@924 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r-- | src/common/socket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index e5e065f33..172712d26 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -12,8 +12,13 @@ #include <sys/socket.h> #include <netinet/in.h> #endif +#include <time.h> + #include "malloc.h" +extern time_t tick_; +extern time_t stall_time_; + // define declaration #define RFIFOP(fd,pos) (session[fd]->rdata+session[fd]->rdata_pos+(pos)) @@ -55,6 +60,7 @@ struct socket_data{ unsigned char *rdata,*wdata; int max_rdata,max_wdata; int rdata_size,wdata_size; + time_t rdata_tick; int rdata_pos; struct sockaddr_in client_addr; int (*func_recv)(int); |