Lines Matching defs:h
27 #include <stdlib.h>
28 #include <strings.h>
29 #include <sys/types.h>
30 #include <sys/socket.h>
31 #include <netinet/in.h>
32 #include <stddef.h>
33 #include <libilb_impl.h>
34 #include <libilb.h>
41 ilb_create_hc(ilb_handle_t h, const ilb_hc_info_t *hc)
47 if (h == ILB_INVALID_HANDLE || hc == NULL || *hc->hci_name == '\0' ||
57 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz);
74 ilb_destroy_hc(ilb_handle_t h, const char *hcname)
80 if (h == ILB_INVALID_HANDLE || hcname == NULL || *hcname == '\0')
88 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz);
104 ilb_get_hc_info(ilb_handle_t h, const char *name, ilb_hc_info_t *hcp)
110 if (h == ILB_INVALID_HANDLE || name == NULL || hcp == NULL)
123 rc = i_ilb_do_comm(h, ic, ic_sz, rbuf, &rbufsz);
143 ilb_walk_hc(ilb_handle_t h, hc_walkerfunc_t func, void *arg)
157 rc = i_ilb_do_comm(h, &ic, sizeof (ic), rbuf, &rbufsz);
167 rc = ilb_get_hc_info(h, hc_names->ilbl_name[i], &hc_info);
179 rc = func(h, &hc_info, arg);
188 ilb_get_hc_srvs(ilb_handle_t h, const char *rulename, ilb_comm_t **rbuf,
206 rc = i_ilb_do_comm(h, ic, ic_sz, tmp_rbuf, rbufsz);
223 ilb_walk_hc_srvs(ilb_handle_t h, hc_srvwalkerfunc_t fn, const char *rulename,
233 rc = ilb_get_hc_srvs(h, rulename, &rbuf, &rbufsz);
238 rc = fn(h, &srvs->rs_srvs[i], arg);
248 rc = i_ilb_retrieve_rule_names(h, &rbuf, &rbufsz);
254 rc = ilb_get_hc_srvs(h, names->ilbl_name[i],
267 rc = fn(h, &srvs->rs_srvs[j], arg);