Lines Matching refs:shosts
258 struct hbac_rule_element *shosts;
267 shosts = talloc_zero(tmp_ctx, struct hbac_rule_element);
268 if (shosts == NULL) {
273 shosts->category = HBAC_CATEGORY_ALL;
286 &host_count, &shosts);
291 if (shosts->category & HBAC_CATEGORY_ALL) {
304 shosts->names = talloc_realloc(shosts, shosts->names, const char *,
306 if (shosts->names == NULL) {
312 shosts->names[idx] =
313 talloc_strdup(shosts->names,
315 if (shosts->names[idx] == NULL) {
321 shosts->names[idx], rule_name);
323 shosts->names[idx] = NULL;
330 *source_hosts = talloc_steal(mem_ctx, shosts);