~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to vio/violite.h

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef vio_violite_h_
22
22
#define vio_violite_h_
23
23
 
24
 
#include "my_net.h"                     /* needed because of struct in_addr */
25
 
 
26
 
 
27
24
/* Simple vio interface in C;  The functions are implemented in violite.c */
28
25
 
29
26
#ifdef  __cplusplus
68
65
/* Get socket number */
69
66
my_socket vio_fd(Vio*vio);
70
67
/* Remote peer's address and name in text form */
71
 
bool vio_peer_addr(Vio *vio, char *buf, uint16 *port, size_t buflen);
 
68
bool vio_peer_addr(Vio *vio, char *buf, uint16_t *port, size_t buflen);
72
69
bool    vio_poll_read(Vio *vio,uint timeout);
73
70
bool vio_peek_read(Vio *vio, uint *bytes);
74
71