~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/net_serv.cc

  • Committer: Monty Taylor
  • Date: 2009-03-31 07:16:07 UTC
  • mto: (971.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: mordred@inaugust.com-20090331071607-mtwkgbm26enpsv46
libdrizzleclient is no longer exported - it's now just a temporary conv. lib to be deleted. So we convert it to C++. Now, we have no pure-C code that we're responsible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include <sys/poll.h>
34
34
#include <zlib.h>
35
35
 
 
36
using namespace std;
 
37
 
36
38
/*
37
39
  The following handles the differences when this is linked between the
38
40
  client and the server.
619
621
  unsigned char *pos;
620
622
  size_t length;
621
623
  uint32_t i,retry_count=0;
622
 
  uint32_t len=packet_error;
 
624
  size_t len=packet_error;
623
625
  uint32_t remain= (net->compress ? NET_HEADER_SIZE+COMP_HEADER_SIZE :
624
626
                    NET_HEADER_SIZE);
625
627