Home
last modified time | relevance | path

Searched refs:addrvec_t (Results 1 – 5 of 5) sorted by relevance

/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-client/zookeeper-client-c/src/
H A Daddrvec.h43 } addrvec_t; typedef
48 void addrvec_init(addrvec_t *avec);
53 void addrvec_free(addrvec_t *avec);
58 int addrvec_alloc(addrvec_t *avec);
63 int addrvec_alloc_capacity(addrvec_t *avec, uint32_t capacity);
69 int addrvec_grow(addrvec_t *avec, uint32_t grow_amount);
74 int addrvec_grow_default(addrvec_t *avec);
98 void addrvec_shuffle(addrvec_t *avec);
105 int addrvec_hasnext(const addrvec_t *avec);
111 int addrvec_atend(const addrvec_t *avec);
[all …]
H A Daddrvec.c34 void addrvec_init(addrvec_t *avec) in addrvec_init()
43 void addrvec_free(addrvec_t *avec) in addrvec_free()
59 int addrvec_alloc(addrvec_t *avec) in addrvec_alloc()
65 int addrvec_alloc_capacity(addrvec_t* avec, uint32_t capacity) in addrvec_alloc_capacity()
71 int addrvec_grow(addrvec_t *avec, uint32_t grow_amount) in addrvec_grow()
99 int addrvec_grow_default(addrvec_t *avec) in addrvec_grow_default()
104 static int addrvec_grow_if_full(addrvec_t *avec) in addrvec_grow_if_full()
192 void addrvec_shuffle(addrvec_t *avec) in addrvec_shuffle()
205 int addrvec_hasnext(const addrvec_t *avec) in addrvec_hasnext()
210 int addrvec_atend(const addrvec_t *avec) in addrvec_atend()
[all …]
H A Dzk_adaptor.h200 addrvec_t addrs; // current list of addresses we're connected to
201 addrvec_t addrs_old; // old list of addresses that we are no longer connected to
202addrvec_t addrs_new; // new list of addresses to connect to if we're reconfiguring
H A Dzookeeper.c794 static int resolve_hosts(const zhandle_t *zh, const char *hosts_in, addrvec_t *avec)
1049 addrvec_t resolved = { 0 };
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-client/zookeeper-client-c/tests/
H A DTestReconfig.cc631 addrvec_t vec; in testAddrVecContainsIPv4()
666 addrvec_t vec; in testAddrVecContainsIPv6()