summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authorunknown <hf@bison.(none)>2002-06-17 16:24:51 +0500
committerunknown <hf@bison.(none)>2002-06-17 16:24:51 +0500
commitf4b014d5c3ebac7e4c9eff57206d33f5fe6455ed (patch)
tree32ae61185744bab280ae5b44c652879d9331f198 /include/violite.h
parentc1f3be5bb5f70e5d0376f258b79ccffa5b2d9c2b (diff)
downloadmariadb-git-f4b014d5c3ebac7e4c9eff57206d33f5fe6455ed.tar.gz
Removing net emulation out of embedded library
include/mysql.h: Several structures content changed for embedded case include/violite.h: enum_vio_type extended libmysqld/embedded_priv.h: three new funcs added libmysqld/lib_sql.cc: A lot of changes on the way to excude network emulation libmysqld/lib_vio.c: vio structure changed. we're on the way to remove network... libmysqld/libmysqld.c: A lot of changes. sql/ha_myisam.cc: Network sending modified for embedded case. sql/net_pkg.cc: Exclude network from error sending sql/sql_acl.cc: Exclude access permissions checking in embedded case sql/sql_base.cc: Implementation of send_fields got quite different in enbedded case and now placed in lib_sql.cc sql/sql_class.cc: select_send::send_data for embedded case placed in lib_sql sql/sql_class.h: Extra fields added for embedded case sql/sql_parse.cc: remove this out of server sql/sql_show.cc: lots of similar changes to exclude network emulation sql/sql_table.cc: Network emulation excluded BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'include/violite.h')
-rw-r--r--include/violite.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/violite.h b/include/violite.h
index 0f36e493b57..1a938d48fea 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -31,8 +31,13 @@
extern "C" {
#endif /* __cplusplus */
-enum enum_vio_type { VIO_CLOSED, VIO_TYPE_TCPIP, VIO_TYPE_SOCKET,
- VIO_TYPE_NAMEDPIPE, VIO_TYPE_SSL};
+enum enum_vio_type {
+ VIO_CLOSED, VIO_TYPE_TCPIP, VIO_TYPE_SOCKET,
+ VIO_TYPE_NAMEDPIPE, VIO_TYPE_SSL
+#ifdef EMBEDDED_LIBRARY
+ ,VIO_SHARED_MEMORY, VIO_BUFFER
+#endif
+};
#ifndef __WIN__
#define HANDLE void *