~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to vio/violite.h

  • Committer: Brian Aker
  • Date: 2008-09-16 09:41:23 UTC
  • Revision ID: brian@gir.lan-20080916094123-2ws792vn896n2g53
Fixed uint/ushort issue in libdrizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#define VIO_BUFFERED_READ 2                     /* use buffered read */
42
42
#define VIO_READ_BUFFER_SIZE 16384              /* size of read buffer */
43
43
 
44
 
Vio*    vio_new(int sd, enum enum_vio_type type, uint flags);
 
44
Vio*    vio_new(int sd, enum enum_vio_type type, unsigned int flags);
45
45
 
46
46
void    vio_delete(Vio* vio);
47
47
int     vio_close(Vio* vio);
70
70
/* Remote peer's address and name in text form */
71
71
bool vio_peer_addr(Vio *vio, char *buf, uint16_t *port, size_t buflen);
72
72
bool vio_poll_read(Vio *vio, int timeout);
73
 
bool vio_peek_read(Vio *vio, uint *bytes);
 
73
bool vio_peek_read(Vio *vio, unsigned int *bytes);
74
74
 
75
75
void vio_end(void);
76
76