Lines Matching defs:shosts
259 struct hbac_rule_element *shosts;
268 shosts = talloc_zero(tmp_ctx, struct hbac_rule_element);
269 if (shosts == NULL) {
274 shosts->category = HBAC_CATEGORY_ALL;
287 &host_count, &shosts);
292 if (shosts->category & HBAC_CATEGORY_ALL) {
305 shosts->names = talloc_realloc(shosts, shosts->names, const char *,
307 if (shosts->names == NULL) {
313 shosts->names[idx] =
314 talloc_strdup(shosts->names,
316 if (shosts->names[idx] == NULL) {
322 shosts->names[idx], rule_name);
324 shosts->names[idx] = NULL;
331 *source_hosts = talloc_steal(mem_ctx, shosts);