All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions
as_peers.h File Reference
#include <aerospike/as_std.h>
#include <aerospike/as_status.h>
#include <aerospike/as_error.h>
#include <aerospike/as_host.h>
#include <aerospike/as_vector.h>
+ Include dependency graph for as_peers.h:

Go to the source code of this file.

Data Structures

struct  as_peers


static void as_peers_add_invalid_host (as_peers *peers, as_host *host)
bool as_peers_find_invalid_host (as_peers *peers, as_host *host)
struct as_node_s * as_peers_find_local_node (as_vector *nodes, const char *name)
static uint32_t as_peers_invalid_count (as_peers *peers)
as_status as_peers_parse_peers (as_peers *peers, as_error *err, struct as_cluster_s *cluster, struct as_node_s *node, char *buf)

Function Documentation

static void as_peers_add_invalid_host ( as_peers peers,
as_host host 

Definition at line 59 of file as_peers.h.

References as_host_copy(), as_vector_reserve(), and as_peers::invalid_hosts.

bool as_peers_find_invalid_host ( as_peers peers,
as_host host 
struct as_node_s* as_peers_find_local_node ( as_vector nodes,
const char *  name 
static uint32_t as_peers_invalid_count ( as_peers peers)

Definition at line 66 of file as_peers.h.

References as_peers::invalid_hosts, and as_vector::size.

as_status as_peers_parse_peers ( as_peers peers,
as_error err,
struct as_cluster_s *  cluster,
struct as_node_s *  node,
char *  buf