#include <kvstore.h> kv_read_zones_t * kv_config_get_read_zones(kv_config_t *config)
Retrieves the structure containing the read zones used by this
configuration object. A node must belong to one of the zones
identified in the kv_read_zones_t
structure if
it is to be used to service read requests. If NULL
is returned, any node in any zone can be used to service read
requests.
The structure returned by this function is as follows:
typedef struct { kv_int_t kz_num_zones; char **kz_zones; } kv_read_zones_t;
You add read zones using kv_config_add_read_zone().