~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/net_serv.h

  • Committer: Eric Day
  • Date: 2009-09-23 19:09:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1169.
  • Revision ID: eday@oddments.org-20090923190931-0xgo1un9cfwt2a2d
Client/Listen cleanup, moved globals, console plugin cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
  void *extension;
73
73
} NET;
74
74
 
75
 
  bool drizzleclient_net_init(NET *net, Vio* vio);
76
 
  void drizzleclient_net_local_init(NET *net);
 
75
  bool drizzleclient_net_init(NET *net, Vio* vio, uint32_t buffer_length);
77
76
  void drizzleclient_net_end(NET *net);
78
77
  void drizzleclient_net_clear(NET *net, bool clear_buffer);
79
78
  bool drizzleclient_net_realloc(NET *net, size_t length);
85
84
  int32_t drizzleclient_net_real_write(NET *net,const unsigned char *packet, size_t len);
86
85
  uint32_t drizzleclient_net_read(NET *net);
87
86
  void drizzleclient_net_close(NET *net);
88
 
  bool drizzleclient_net_init_sock(NET * net, int sock, int flags);
 
87
  bool drizzleclient_net_init_sock(NET * net, int sock, int flags,
 
88
                                   uint32_t buffer_length);
89
89
  bool drizzleclient_net_peer_addr(NET *net, char *buf, uint16_t *port, size_t buflen);
90
90
  void drizzleclient_net_keepalive(NET *net, bool flag);
91
91
  int drizzleclient_net_get_sd(NET *net);