#ifndef _THRIFT_TDISPATCHPROCESSOR_H_
#define _THRIFT_TDISPATCHPROCESSOR_H_ 1
-#include "TProcessor.h"
+#include <thrift/TProcessor.h>
namespace apache { namespace thrift {
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include "transport/PlatformSocket.h"
+#include <thrift/transport/PlatformSocket.h>
#include <stdio.h>
#include <assert.h>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_convertible.hpp>
-#include "TLogging.h"
+#include <thrift/TLogging.h>
/**
* Helper macros to allow function overloading even when using
#ifndef _THRIFT_ASYNC_TASYNCDISPATCHPROCESSOR_H_
#define _THRIFT_ASYNC_TASYNCDISPATCHPROCESSOR_H_ 1
-#include "TAsyncProcessor.h"
+#include <thrift/async/TAsyncProcessor.h>
namespace apache { namespace thrift { namespace async {
* under the License.
*/
-#include "TAsyncProtocolProcessor.h"
+#include <thrift/async/TAsyncProtocolProcessor.h>
using apache::thrift::transport::TBufferBase;
using apache::thrift::protocol::TProtocol;
#ifndef _THRIFT_TNAME_ME_H_
#define _THRIFT_TNAME_ME_H_ 1
-#include "TAsyncProcessor.h"
-#include "TAsyncBufferProcessor.h"
+#include <thrift/async/TAsyncProcessor.h>
+#include <thrift/async/TAsyncBufferProcessor.h>
#include <thrift/protocol/TProtocol.h>
namespace apache { namespace thrift { namespace async {
* under the License.
*/
-#include "TEvhttpClientChannel.h"
+#include <thrift/async/TEvhttpClientChannel.h>
#include <evhttp.h>
#include <thrift/transport/TBufferTransports.h>
#include <thrift/protocol/TProtocolException.h>
#include <string>
#include <boost/shared_ptr.hpp>
-#include "TAsyncChannel.h"
+#include <thrift/async/TAsyncChannel.h>
struct event_base;
struct evhttp_connection;
* under the License.
*/
-#include "TEvhttpServer.h"
-#include "TAsyncBufferProcessor.h"
+#include <thrift/async/TEvhttpServer.h>
+#include <thrift/async/TAsyncBufferProcessor.h>
#include <thrift/transport/TBufferTransports.h>
#include <evhttp.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "Monitor.h"
-#include "Exception.h"
-#include "Util.h"
+#include <thrift/concurrency/Monitor.h>
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Util.h>
#include <thrift/transport/PlatformSocket.h>
#include <assert.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "Mutex.h"
-#include "Util.h"
+#include <thrift/concurrency/Mutex.h>
+#include <thrift/concurrency/Util.h>
#include <cassert>
#include <boost/thread.hpp>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "BoostThreadFactory.h"
-#include "Exception.h"
+#include <thrift/concurrency/BoostThreadFactory.h>
+#include <thrift/concurrency/Exception.h>
#include <cassert>
#ifndef _THRIFT_CONCURRENCY_BOOSTTHREADFACTORY_H_
#define _THRIFT_CONCURRENCY_BOOSTTHREADFACTORY_H_ 1
-#include "Thread.h"
+#include <thrift/concurrency/Thread.h>
#include <boost/shared_ptr.hpp>
* under the License.
*/
-#include "Monitor.h"
-#include "Exception.h"
-#include "Util.h"
+#include <thrift/concurrency/Monitor.h>
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Util.h>
#include <thrift/transport/PlatformSocket.h>
#include <boost/scoped_ptr.hpp>
#ifndef _THRIFT_CONCURRENCY_MONITOR_H_
#define _THRIFT_CONCURRENCY_MONITOR_H_ 1
-#include "Exception.h"
-#include "Mutex.h"
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Mutex.h>
#include <boost/utility.hpp>
#include <config.h>
#endif
#include <thrift/Thrift.h>
-#include "Mutex.h"
-#include "Util.h"
+#include <thrift/concurrency/Mutex.h>
+#include <thrift/concurrency/Util.h>
#include <assert.h>
#ifdef HAVE_PTHREAD_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "PosixThreadFactory.h"
-#include "Exception.h"
+#include <thrift/concurrency/PosixThreadFactory.h>
+#include <thrift/concurrency/Exception.h>
#if GOOGLE_PERFTOOLS_REGISTER_THREAD
# include <google/profiler.h>
#ifndef _THRIFT_CONCURRENCY_POSIXTHREADFACTORY_H_
#define _THRIFT_CONCURRENCY_POSIXTHREADFACTORY_H_ 1
-#include "Thread.h"
+#include <thrift/concurrency/Thread.h>
#include <boost/shared_ptr.hpp>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "Monitor.h"
-#include "Exception.h"
-#include "Util.h"
+#include <thrift/concurrency/Monitor.h>
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Util.h>
#include <thrift/transport/PlatformSocket.h>
#include <assert.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "Mutex.h"
-#include "Util.h"
+#include <thrift/concurrency/Mutex.h>
+#include <thrift/concurrency/Util.h>
#include <cassert>
#include <chrono>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "StdThreadFactory.h"
-#include "Exception.h"
+#include <thrift/concurrency/StdThreadFactory.h>
+#include <thrift/concurrency/Exception.h>
#include <cassert>
#ifndef _THRIFT_CONCURRENCY_STDTHREADFACTORY_H_
#define _THRIFT_CONCURRENCY_STDTHREADFACTORY_H_ 1
-#include "Thread.h"
+#include <thrift/concurrency/Thread.h>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
#if USE_BOOST_THREAD
#include <config.h>
#endif
-#include "ThreadManager.h"
-#include "Exception.h"
-#include "Monitor.h"
-#include "Util.h"
+#include <thrift/concurrency/ThreadManager.h>
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Monitor.h>
+#include <thrift/concurrency/Util.h>
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <thrift/cxxfunctional.h>
#include <sys/types.h>
-#include "Thread.h"
+#include <thrift/concurrency/Thread.h>
namespace apache { namespace thrift { namespace concurrency {
* under the License.
*/
-#include "TimerManager.h"
-#include "Exception.h"
-#include "Util.h"
+#include <thrift/concurrency/TimerManager.h>
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Util.h>
#include <assert.h>
#include <iostream>
#ifndef _THRIFT_CONCURRENCY_TIMERMANAGER_H_
#define _THRIFT_CONCURRENCY_TIMERMANAGER_H_ 1
-#include "Exception.h"
-#include "Monitor.h"
-#include "Thread.h"
+#include <thrift/concurrency/Exception.h>
+#include <thrift/concurrency/Monitor.h>
+#include <thrift/concurrency/Thread.h>
#include <boost/shared_ptr.hpp>
#include <map>
#include <config.h>
#endif
#include <thrift/Thrift.h>
-#include "Util.h"
+#include <thrift/concurrency/Util.h>
#if defined(HAVE_SYS_TIME_H)
#include <sys/time.h>
* under the License.
*/
-#include "PeekProcessor.h"
+#include <thrift/processor/PeekProcessor.h>
using namespace apache::thrift::transport;
using namespace apache::thrift::protocol;
* under the License.
*/
-#include "TBase64Utils.h"
+#include <thrift/protocol/TBase64Utils.h>
#include <boost/static_assert.hpp>
#ifndef _THRIFT_PROTOCOL_TBINARYPROTOCOL_H_
#define _THRIFT_PROTOCOL_TBINARYPROTOCOL_H_ 1
-#include "TProtocol.h"
-#include "TVirtualProtocol.h"
+#include <thrift/protocol/TProtocol.h>
+#include <thrift/protocol/TVirtualProtocol.h>
#include <boost/shared_ptr.hpp>
}}} // apache::thrift::protocol
-#include "TBinaryProtocol.tcc"
+#include <thrift/protocol/TBinaryProtocol.tcc>
#endif // #ifndef _THRIFT_PROTOCOL_TBINARYPROTOCOL_H_
#ifndef _THRIFT_PROTOCOL_TBINARYPROTOCOL_TCC_
#define _THRIFT_PROTOCOL_TBINARYPROTOCOL_TCC_ 1
-#include "TBinaryProtocol.h"
+#include <thrift/protocol/TBinaryProtocol.h>
#include <limits>
#ifndef _THRIFT_PROTOCOL_TCOMPACTPROTOCOL_H_
#define _THRIFT_PROTOCOL_TCOMPACTPROTOCOL_H_ 1
-#include "TVirtualProtocol.h"
+#include <thrift/protocol/TVirtualProtocol.h>
#include <stack>
#include <boost/shared_ptr.hpp>
}}} // apache::thrift::protocol
-#include "TCompactProtocol.tcc"
+#include <thrift/protocol/TCompactProtocol.tcc>
#endif
* under the License.
*/
-#include "TDebugProtocol.h"
+#include <thrift/protocol/TDebugProtocol.h>
#include <cassert>
#include <cctype>
#ifndef _THRIFT_PROTOCOL_TDEBUGPROTOCOL_H_
#define _THRIFT_PROTOCOL_TDEBUGPROTOCOL_H_ 1
-#include "TVirtualProtocol.h"
+#include <thrift/protocol/TVirtualProtocol.h>
#include <boost/shared_ptr.hpp>
#ifndef _THRIFT_PROTOCOL_TDENSEPROTOCOL_H_
#define _THRIFT_PROTOCOL_TDENSEPROTOCOL_H_ 1
-#include "TBinaryProtocol.h"
+#include <thrift/protocol/TBinaryProtocol.h>
namespace apache { namespace thrift { namespace protocol {
* under the License.
*/
-#include "TJSONProtocol.h"
+#include <thrift/protocol/TJSONProtocol.h>
#include <math.h>
#include <boost/lexical_cast.hpp>
-#include "TBase64Utils.h"
+#include <thrift/protocol/TBase64Utils.h>
#include <thrift/transport/TTransportException.h>
using namespace apache::thrift::transport;
#ifndef _THRIFT_PROTOCOL_TJSONPROTOCOL_H_
#define _THRIFT_PROTOCOL_TJSONPROTOCOL_H_ 1
-#include "TVirtualProtocol.h"
+#include <thrift/protocol/TVirtualProtocol.h>
#include <stack>
* under the License.
*/
-#include "TQTcpServer.h"
-#include "TQIODeviceTransport.h"
+#include <thrift/qt/TQTcpServer.h>
+#include <thrift/qt/TQIODeviceTransport.h>
#include <QTcpSocket>
#include <config.h>
#endif
-#include "TNonblockingServer.h"
+#include <thrift/server/TNonblockingServer.h>
#include <thrift/concurrency/Exception.h>
#include <thrift/transport/TSocket.h>
#include <thrift/concurrency/PlatformThreadFactory.h>
#define _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_ 1
#include <cstring>
-#include "boost/scoped_array.hpp"
+#include <boost/scoped_array.hpp>
#include <thrift/transport/TTransport.h>
#include <thrift/transport/TVirtualTransport.h>
#include <sys/time.h>
#endif
-#include "TTransport.h"
-#include "TVirtualTransport.h"
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TVirtualTransport.h>
namespace apache { namespace thrift { namespace transport {
#include "config.h"
#endif
-#include "TFileTransport.h"
-#include "TTransportUtils.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TFileTransport.h>
+#include <thrift/transport/TTransportUtils.h>
+#include <thrift/transport/PlatformSocket.h>
#include <thrift/concurrency/FunctionRunner.h>
#ifdef HAVE_SYS_TIME_H
#define _THRIFT_TRANSPORT_THTTPTRANSPORT_H_ 1
#include <thrift/transport/TBufferTransports.h>
-#include "TVirtualTransport.h"
+#include <thrift/transport/TVirtualTransport.h>
namespace apache { namespace thrift { namespace transport {
* under the License.
*/
-#include "TTransportException.h"
-#include "TPipe.h"
+#include <thrift/transport/TTransportException.h>
+#include <thrift/transport/TPipe.h>
namespace apache { namespace thrift { namespace transport {
#include <thrift/transport/TTransport.h>
#include <thrift/transport/TVirtualTransport.h>
#ifndef _WIN32
-# include "TSocket.h"
+# include <thrift/transport/TSocket.h>
#endif
namespace apache { namespace thrift { namespace transport {
#endif
#include <cstring>
-#include "TPipe.h"
-#include "TPipeServer.h"
+#include <thrift/transport/TPipe.h>
+#include <thrift/transport/TPipeServer.h>
#include <boost/shared_ptr.hpp>
#ifdef _WIN32
# include <AccCtrl.h>
#ifndef _THRIFT_TRANSPORT_TSERVERWINPIPES_H_
#define _THRIFT_TRANSPORT_TSERVERWINPIPES_H_ 1
-#include "TServerTransport.h"
+#include <thrift/transport/TServerTransport.h>
#include <boost/shared_ptr.hpp>
#ifndef _WIN32
# include "TServerSocket.h"
* under the License.
*/
-#include "TSSLServerSocket.h"
-#include "TSSLSocket.h"
+#include <thrift/transport/TSSLServerSocket.h>
+#include <thrift/transport/TSSLSocket.h>
namespace apache { namespace thrift { namespace transport {
#define _THRIFT_TRANSPORT_TSSLSERVERSOCKET_H_ 1
#include <boost/shared_ptr.hpp>
-#include "TServerSocket.h"
+#include <thrift/transport/TServerSocket.h>
namespace apache { namespace thrift { namespace transport {
#include <openssl/ssl.h>
#include <openssl/x509v3.h>
#include <thrift/concurrency/Mutex.h>
-#include "TSSLSocket.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TSSLSocket.h>
+#include <thrift/transport/PlatformSocket.h>
#define OPENSSL_VERSION_NO_THREAD_ID 0x10000000L
#include <boost/shared_ptr.hpp>
#include <openssl/ssl.h>
#include <thrift/concurrency/Mutex.h>
-#include "TSocket.h"
+#include <thrift/transport/TSocket.h>
namespace apache { namespace thrift { namespace transport {
#include <unistd.h>
#endif
-#include "TSocket.h"
-#include "TServerSocket.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TSocket.h>
+#include <thrift/transport/TServerSocket.h>
+#include <thrift/transport/PlatformSocket.h>
#include <boost/shared_ptr.hpp>
#ifndef AF_LOCAL
#ifndef _THRIFT_TRANSPORT_TSERVERSOCKET_H_
#define _THRIFT_TRANSPORT_TSERVERSOCKET_H_ 1
-#include "TServerTransport.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TServerTransport.h>
+#include <thrift/transport/PlatformSocket.h>
#include <boost/shared_ptr.hpp>
namespace apache { namespace thrift { namespace transport {
#ifndef _THRIFT_TRANSPORT_TSERVERTRANSPORT_H_
#define _THRIFT_TRANSPORT_TSERVERTRANSPORT_H_ 1
-#include "TTransport.h"
-#include "TTransportException.h"
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TTransportException.h>
#include <boost/shared_ptr.hpp>
namespace apache { namespace thrift { namespace transport {
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "TSimpleFileTransport.h"
+#include <thrift/transport/TSimpleFileTransport.h>
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
#ifndef _THRIFT_TRANSPORT_TSIMPLEFILETRANSPORT_H_
#define _THRIFT_TRANSPORT_TSIMPLEFILETRANSPORT_H_ 1
-#include "TFDTransport.h"
+#include <thrift/transport/TFDTransport.h>
namespace apache { namespace thrift { namespace transport {
#include <fcntl.h>
#include <thrift/concurrency/Monitor.h>
-#include "TSocket.h"
-#include "TTransportException.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TSocket.h>
+#include <thrift/transport/TTransportException.h>
+#include <thrift/transport/PlatformSocket.h>
#ifndef SOCKOPT_CAST_T
# ifndef _WIN32
#include <string>
-#include "TTransport.h"
-#include "TVirtualTransport.h"
-#include "TServerSocket.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TVirtualTransport.h>
+#include <thrift/transport/TServerSocket.h>
+#include <thrift/transport/PlatformSocket.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#include <algorithm>
#include <iostream>
-#include "TSocketPool.h"
+#include <thrift/transport/TSocketPool.h>
namespace apache { namespace thrift { namespace transport {
#define _THRIFT_TRANSPORT_TSOCKETPOOL_H_ 1
#include <vector>
-#include "TSocket.h"
+#include <thrift/transport/TSocket.h>
namespace apache { namespace thrift { namespace transport {
* under the License.
*/
-#include "GetTimeOfDay.h"
+#include <thrift/windows/GetTimeOfDay.h>
#include "config.h"
// win32
* under the License.
*/
-#include "SocketPair.h"
+#include <thrift/windows/SocketPair.h>
// stl
#include <string.h>
* under the License.
*/
-#include "TWinsockSingleton.h"
+#include <thrift/windows/TWinsockSingleton.h>
// boost
#include <boost/assert.hpp>
#error This is a MSVC header only.
#endif
-#include <config.h>
+#include "config.h"
// boost
#include <boost/noncopyable.hpp>
* under the License.
*/
-#include "WinFcntl.h"
+#include <thrift/windows/WinFcntl.h>
int thrift_fcntl(THRIFT_SOCKET fd, int cmd, int flags)
{
};
#endif
+extern "C" {
int thrift_fcntl(THRIFT_SOCKET fd, int cmd, int flags);
int thrift_poll(THRIFT_POLLFD *fdArray, ULONG nfds, INT timeout);
+}
#endif // _THRIFT_WINDOWS_FCNTL_H_
#endif
#include <thrift/transport/PlatformSocket.h>
-#include "GetTimeOfDay.h"
-#include "Operators.h"
-#include "TWinsockSingleton.h"
-#include "WinFcntl.h"
-#include "SocketPair.h"
+#include <thrift/windows/GetTimeOfDay.h>
+#include <thrift/windows/Operators.h>
+#include <thrift/windows/TWinsockSingleton.h>
+#include <thrift/windows/WinFcntl.h>
+#include <thrift/windows/SocketPair.h>
// windows
#include <Winsock2.h>