~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to vio/vio_priv.h

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:17:38 UTC
  • mto: (575.1.7 fix-headers)
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107001738-h47weh9c8su7k8z8
Moved vio stuff into libdrizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2003 MySQL AB
2
 
 
3
 
   This program is free software; you can redistribute it and/or modify
4
 
   it under the terms of the GNU General Public License as published by
5
 
   the Free Software Foundation; version 2 of the License.
6
 
 
7
 
   This program is distributed in the hope that it will be useful,
8
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
   GNU General Public License for more details.
11
 
 
12
 
   You should have received a copy of the GNU General Public License
13
 
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
 
 
16
 
/* Structures and functions private to the vio package */
17
 
 
18
 
#define DONT_MAP_VIO
19
 
#include <drizzled/global.h>
20
 
#include <libdrizzle/libdrizzle.h>
21
 
#include <mysys/my_sys.h>
22
 
#include <string.h>
23
 
#include <violite.h>
24
 
 
25
 
#include <netinet/tcp.h>
26
 
#include <sys/socket.h>
27
 
#include <sys/poll.h>
28
 
 
29
 
#include <netdb.h>
30
 
 
31
 
void vio_ignore_timeout(Vio *vio, bool is_sndtimeo, int32_t timeout);
32
 
void vio_timeout(Vio *vio, bool is_sndtimeo, int32_t timeout);