diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-18 02:43:55 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-19 17:10:09 -0700 |
commit | 2410aeb608329ed57a31315effdfd5a751788616 (patch) | |
tree | 4b961100e9aec99c16c6ccae7f1857e763d58b14 /src/net/socket.hpp | |
parent | fccd01bd0fba297531595b51ffb8db044ed6f22c (diff) | |
download | tmwa-2410aeb608329ed57a31315effdfd5a751788616.tar.gz tmwa-2410aeb608329ed57a31315effdfd5a751788616.tar.bz2 tmwa-2410aeb608329ed57a31315effdfd5a751788616.tar.xz tmwa-2410aeb608329ed57a31315effdfd5a751788616.zip |
Convert login/char and login/admin server components to proto-v2
Diffstat (limited to 'src/net/socket.hpp')
-rw-r--r-- | src/net/socket.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/net/socket.hpp b/src/net/socket.hpp index aff8278..2b60ac6 100644 --- a/src/net/socket.hpp +++ b/src/net/socket.hpp @@ -173,17 +173,4 @@ void do_sendrecv(interval_t next); /// Call the parser function for every socket that has read data void do_parsepacket(void); -/// Check how much can be read -inline -size_t RFIFOREST(Session *s) -{ - return s->rdata_size - s->rdata_pos; -} - -/// Done reading -void RFIFOSKIP(Session *s, size_t len); - -/// Finish writing -void WFIFOSET(Session *s, size_t len); - #endif // TMWA_NET_SOCKET_HPP |