summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-05-10 17:37:38 +0300
committermonty@mysql.com <>2004-05-10 17:37:38 +0300
commit4ef7918e1863ac8020c6d28c3a252e9fe69ed06f (patch)
tree1aaba64bbf831ad1da04d9402d5a61bcaf26f32b /include/violite.h
parentc745ae9503b8e85de9db6c77b87b3eb789ae2848 (diff)
downloadmariadb-git-4ef7918e1863ac8020c6d28c3a252e9fe69ed06f.tar.gz
Add read_rnd_buffer_size in my.cnf example files
Remove wrong redefine of vio_reset() (to compile libmysqld on windows)
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);