xapian-core
1.4.27
|
RemoteConnection class used by the remote backend. More...
#include <cerrno>
#include <string>
#include "remoteprotocol.h"
#include "safenetdb.h"
#include "safeunistd.h"
#include "safesyssocket.h"
Go to the source code of this file.
Classes | |
class | RemoteConnection |
A RemoteConnection object provides a bidirectional connection to another RemoteConnection object on a remote machine. More... | |
class | OwnedRemoteConnection |
RemoteConnection which owns its own fd(s). More... | |
Macros | |
#define | CLOSESOCKET(S) close(S) |
#define | C(X) ((X) < 0 ? 2 : 1) |
Functions | |
int | socket_errno () |
int | eai_to_xapian (int e) |
RemoteConnection class used by the remote backend.
Definition in file remoteconnection.h.
#define C | ( | X | ) | ((X) < 0 ? 2 : 1) |
Referenced by ChertTable::add(), GlassTable::add(), GlassTable::add_branch_item(), ChertTable::add_item(), ChertTable::add_kt(), GlassTable::add_kt(), GlassTable::add_leaf_item(), ChertTable::alter(), GlassTable::alter(), GlassTable::basic_open(), ChertTable::block_to_cursor(), GlassTable::block_to_cursor(), ChertTableCheck::check(), GlassTableCheck::check(), GlassTable::delete_branch_item(), ChertTable::delete_item(), ChertTable::delete_kt(), GlassTable::delete_kt(), GlassTable::delete_leaf_item(), ChertTable::do_open_to_write(), eai_to_xapian(), ChertTable::enter_key(), GlassTable::enter_key_above_branch(), GlassTable::enter_key_above_leaf(), ChertTable::get_exact_entry(), GlassTable::get_exact_entry(), Xapian::DLHWeight::init(), ChertTable::key_exists(), GlassTable::key_exists(), ChertTable::read_root(), GlassTable::read_root(), ChertTable::readahead_key(), GlassTable::readahead_key(), ChertTable::split_root(), and GlassTable::split_root().
#define CLOSESOCKET | ( | S | ) | close(S) |
Definition at line 110 of file remoteconnection.h.
Referenced by TcpClient::open_socket().
|
inline |
Definition at line 113 of file remoteconnection.h.
References C.
Referenced by Resolver::Resolver().
|
inline |
Definition at line 108 of file remoteconnection.h.
Referenced by TcpClient::open_socket().