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 The Xapian namespace contains public interfaces for the Xapian library.
#define LOGCALL_STATIC(CATEGORY, TYPE, FUNC, PARAMS)
This class is used to access a database, or a group of databases.
WritableDatabase open()
Construct a WritableDatabase object for a new, empty InMemory database.
TCP/IP socket based RemoteDatabase implementation.
TCP/IP socket based RemoteDatabase implementation.
This class provides read/write access to a database.
Implementation of RemoteDatabase using a spawned server.
Implementation of RemoteDatabase using a spawned server.
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...
Factory functions for constructing Database and WritableDatabase objects.