Home | History | Annotate | Download | only in dist

Lines Matching defs:to_add

584 		struct catalog_member_zone* to_add;
827 to_add= catalog_member_zone_create(xfrd->nsd->options->region);
828 to_add->options.name = region_strdup(
830 to_add->options.pattern = pattern;
832 &to_add->options)) {
837 &to_add->options);
840 to_add->member_id = dname_copy( xfrd->nsd->options->region
843 to_add->node.key = to_add;
844 if(!rbtree_insert( &consumer_zone->member_ids, &to_add->node)){
851 cursor = rbtree_next(&to_add->node);
856 getzonestatid(xfrd->nsd->options, &to_add->options));
861 if(zone_is_catalog_consumer(&to_add->options)) {
862 xfrd_init_catalog_consumer_zone(xfrd,&to_add->options);
867 &to_add->options);
869 if(zone_is_slave(&to_add->options)) {
870 xfrd_init_slave_zone(xfrd, &to_add->options);
953 producer_zone->to_add = NULL;
967 struct xfrd_producer_member* to_add;
995 /* Put data to be added to the producer zone to the to_add stack */
996 to_add = (struct xfrd_producer_member*)region_alloc(xfrd->region,
998 to_add->member_id = cmz->member_id;
999 to_add->member_zone_name = (dname_type*)cmz->options.node.key;
1000 to_add->group_name = cmz->options.pattern->pname;
1001 to_add->next = producer_zone->to_add;
1002 producer_zone->to_add = to_add;
1184 if(!producer_zone->to_add && !producer_zone->to_delete)
1193 assert(producer_zone->to_add && !producer_zone->to_delete);
1233 while(producer_zone->to_add) {
1234 struct xfrd_producer_member* to_add = producer_zone->to_add;
1236 /* Pop to_add from stack */
1237 producer_zone->to_add = to_add->next;
1238 to_add->next = NULL;
1241 xfr_writer_add_PTR(&xw, to_add->member_id,
1242 to_add->member_zone_name);
1247 , to_add->member_id)
1248 , to_add->group_name);
1253 region_recycle(xfrd->region, to_add, sizeof(*to_add));