Added HandlerSocket plugin

- Fixed compiler errors
- Modified Makefiles to be part of plugin directory
- Some minor changes in database.cpp to use the new MariaDB handler interface
This commit is contained in:
Michael Widenius 2011-02-20 15:22:10 +02:00
commit 2c7d6f12ee
109 changed files with 21060 additions and 0 deletions

View file

@ -0,0 +1,13 @@
CXXFLAGS += -fimplicit-templates
instdir = $(includedir)/handlersocket
# TODO: these headers should be in dena/
inst_HEADERS = allocator.hpp config.hpp mutex.hpp string_util.hpp \
auto_addrinfo.hpp escape.hpp socket.hpp thread.hpp auto_file.hpp \
fatal.hpp string_buffer.hpp util.hpp auto_ptrcontainer.hpp \
hstcpcli.hpp string_ref.hpp
lib_LTLIBRARIES = libhsclient.la
libhsclient_la_SOURCES = config.cpp escape.cpp fatal.cpp hstcpcli.cpp \
socket.cpp string_util.cpp
#libhsclient_la_LDFLAGS = -static
libhsclient_la_CFLAGS = $(AM_CFLAGS)
libhsclient_la_CXXFLAGS = $(AM_CFLAGS)