~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/net_serv.h

  • Committer: Stewart Smith
  • Date: 2009-10-12 05:13:54 UTC
  • mfrom: (1178 staging)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091012051354-2n7zpid9f67ddsa0
mergeĀ lp:drizzle/build

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);
 
75
  bool drizzleclient_net_init(NET *net, Vio* vio, uint32_t buffer_length);
76
76
  void drizzleclient_net_end(NET *net);
77
77
  void drizzleclient_net_clear(NET *net, bool clear_buffer);
78
78
  bool drizzleclient_net_flush(NET *net);
82
82
                         const unsigned char *packet, size_t len);
83
83
  uint32_t drizzleclient_net_read(NET *net);
84
84
  void drizzleclient_net_close(NET *net);
85
 
  bool drizzleclient_net_init_sock(NET * net, int sock, int flags);
 
85
  bool drizzleclient_net_init_sock(NET * net, int sock, int flags,
 
86
                                   uint32_t buffer_length);
86
87
  bool drizzleclient_net_peer_addr(NET *net, char *buf, uint16_t *port, size_t buflen);
87
88
  void drizzleclient_net_keepalive(NET *net, bool flag);
88
89
  int drizzleclient_net_get_sd(NET *net);