summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-10 17:37:38 +0300
committerunknown <monty@mysql.com>2004-05-10 17:37:38 +0300
commit3fd7554f06af54681e53595be52c30ae8462250c (patch)
tree1aaba64bbf831ad1da04d9402d5a61bcaf26f32b /include/violite.h
parentc6bc3cfb8457332b4519efcd10339c2632626acb (diff)
downloadmariadb-git-3fd7554f06af54681e53595be52c30ae8462250c.tar.gz
Add read_rnd_buffer_size in my.cnf example files
Remove wrong redefine of vio_reset() (to compile libmysqld on windows) include/violite.h: Remove wrong redefine of vio_reset() support-files/my-huge.cnf.sh: Add read_rnd_buffer_size support-files/my-large.cnf.sh: Add read_rnd_buffer_size support-files/my-medium.cnf.sh: Add read_rnd_buffer_size support-files/my-small.cnf.sh: Add read_rnd_buffer_size
Diffstat (limited to 'include/violite.h')
-rw-r--r--include/violite.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/violite.h b/include/violite.h
index e8f30288d34..b4b9f724d89 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -55,14 +55,8 @@ int vio_close_pipe(Vio * vio);
void vio_delete(Vio* vio);
int vio_close(Vio* vio);
-
-#ifdef EMBEDDED_LIBRARY
-void vio_reset(Vio *vio);
-#else
-void vio_reset(Vio* vio, enum enum_vio_type type,
- my_socket sd, HANDLE hPipe, my_bool localhost);
-#endif
-
+void vio_reset(Vio* vio, enum enum_vio_type type,
+ my_socket sd, HANDLE hPipe, my_bool localhost);
int vio_read(Vio *vio, gptr buf, int size);
int vio_write(Vio *vio, const gptr buf, int size);
int vio_blocking(Vio *vio, my_bool onoff, my_bool *old_mode);