ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/client.h
(Generate patch)

Comparing deliantra/server/include/client.h (file contents):
Revision 1.70 by root, Wed Nov 14 08:09:46 2007 UTC vs.
Revision 1.74 by root, Mon Apr 21 21:32:32 2008 UTC

29#include <tr1/unordered_set> 29#include <tr1/unordered_set>
30 30
31#if HAVE_TCP_INFO 31#if HAVE_TCP_INFO
32# include <netinet/tcp.h> 32# include <netinet/tcp.h>
33#else 33#else
34 struct tcpi_info { 34 struct tcp_info {
35 // dummy 35 // dummy
36 char tcpi_state; 36 char tcpi_state;
37 char tcpi_ca_state; 37 char tcpi_ca_state;
38 char tcpi_retransmits; 38 char tcpi_retransmits;
39 char tcpi_probes; 39 char tcpi_probes;
144{ 144{
145 tstamp stamp; 145 tstamp stamp;
146 const packet_type *handler; 146 const packet_type *handler;
147 char *data; 147 char *data;
148 int datalen; 148 int datalen;
149
150 ~command ()
151 {
152 sfree<char> (data, datalen + 1);
153 }
154}; 149};
155 150
156/* how many times we are allowed to give the wrong password before being kicked. */ 151/* how many times we are allowed to give the wrong password before being kicked. */
157#define MAX_PASSWORD_FAILURES 5 152#define MAX_PASSWORD_FAILURES 5
158 153

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines