~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/vio.c

  • Committer: Jay Pipes
  • Date: 2009-02-04 15:44:25 UTC
  • mfrom: (829 drizzle)
  • mto: This revision was merged to the branch mainline in revision 830.
  • Revision ID: jpipes@serialcoder-20090204154425-th8xfk2ujz2y8xwg
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#define DONT_MAP_VIO
24
24
#include <drizzled/global.h>
25
 
#include <libdrizzle/vio.h>
 
25
#include "vio.h"
26
26
#include <string.h>
27
27
#include <stdint.h>
28
28
 
33
33
static void vio_init(Vio* vio, enum enum_vio_type type,
34
34
                     int sd, uint32_t flags)
35
35
{
36
 
#ifndef HAVE_VIO_READ_BUFF
37
 
  flags&= ~VIO_BUFFERED_READ;
38
 
#endif
39
36
  memset(vio, 0, sizeof(*vio));
40
37
  vio->type     = type;
41
38
  vio->sd       = sd;