35 #if defined __GNUC__ && defined __MINGW32__
37 # pragma GCC diagnostic push
38 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
42 Remote::open(
const string &host,
unsigned int port, useconds_t timeout_,
43 useconds_t connect_timeout)
47 connect_timeout * 1e-3,
false, 0)));
52 useconds_t timeout_, useconds_t connect_timeout,
57 connect_timeout * 1e-3,
true,
71 useconds_t timeout_,
int flags)
75 timeout_ * 1e-3,
true, flags)));
78 #if defined __GNUC__ && defined __MINGW32__
79 # pragma GCC diagnostic pop
Implementation of RemoteDatabase using a spawned server.
TCP/IP socket based RemoteDatabase implementation.
This class is used to access a database, or a group of databases.
This class provides read/write access to a database.
Factory functions for constructing Database and WritableDatabase objects.
#define LOGCALL_STATIC(CATEGORY, TYPE, FUNC, PARAMS)
WritableDatabase open()
Construct a WritableDatabase object for a new, empty InMemory database.
WritableDatabase open_writable(const std::string &host, unsigned int port, useconds_t timeout=0, useconds_t connect_timeout=10000, int flags=0)
Construct a WritableDatabase object for update access to a remote database accessed via a TCP connect...
The Xapian namespace contains public interfaces for the Xapian library.
Implementation of RemoteDatabase using a spawned server.
TCP/IP socket based RemoteDatabase implementation.