~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/net_serv.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-08 16:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2396.
  • Revision ID: olafvdspek@gmail.com-20110808165037-i20wtp4udmkmmcax
Use data_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
  void set_write_timeout(uint32_t timeout);
54
54
  void set_read_timeout(uint32_t timeout);
55
55
  bool write(const void*, size_t);
56
 
  bool write_command(unsigned char command,
57
 
    const unsigned char *header, size_t head_len,
58
 
    const unsigned char *packet, size_t len);
 
56
  bool write_command(unsigned char command, data_ref header, data_ref body);
59
57
  uint32_t read();
60
58
};
61
59