~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/vio.h

  • Committer: Brian Aker
  • Date: 2009-04-01 01:25:04 UTC
  • mfrom: (968.2.27 mordred)
  • Revision ID: brian@tangent.org-20090401012504-mq9sxcmph5jc1fh6
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
/* Simple vio interface in C;  The functions are implemented in violite.c */
28
28
 
29
 
#ifdef  __cplusplus
30
 
extern "C" {
31
 
#endif /* __cplusplus */
32
 
 
33
29
enum enum_vio_type
34
30
{
35
31
  VIO_CLOSED, VIO_TYPE_TCPIP, VIO_TYPE_SOCKET, VIO_TYPE_NAMEDPIPE,
78
74
void drizzleclient_vio_ignore_timeout(Vio *vio, bool is_sndtimeo, int32_t timeout);
79
75
void drizzleclient_vio_timeout(Vio *vio, bool is_sndtimeo, int32_t timeout);
80
76
 
81
 
#ifdef  __cplusplus
82
 
}
83
 
#endif
84
 
 
85
77
#if !defined(DONT_MAP_VIO)
86
78
#define drizzleclient_vio_delete(vio)                   (vio)->viodelete(vio)
87
79
#define drizzleclient_vio_errno(vio)                            (vio)->vioerrno(vio)