Lines Matching defs:consumer
55 struct gconsumer *consumer;
123 if (!strcmp(name, "consumer") && mt->consumer == NULL) {
124 mt->consumer = calloc(1, sizeof *mt->consumer);
125 if (mt->consumer == NULL) {
132 mt->consumer->lg_id = id;
133 LIST_INSERT_HEAD(&mt->geom->lg_consumer, mt->consumer,
135 LIST_INIT(&mt->consumer->lg_config);
138 if (!strcmp(name, "geom") && mt->consumer != NULL) {
139 mt->consumer->lg_geom = ref;
142 if (!strcmp(name, "provider") && mt->consumer != NULL) {
143 mt->consumer->lg_provider = ref;
171 if (mt->consumer != NULL) {
172 mt->config = &mt->consumer->lg_config;
234 if (!strcmp(name, "mode") && mt->consumer != NULL) {
235 mt->consumer->lg_mode = p;
304 if (!strcmp(name, "consumer") && mt->consumer != NULL) {
305 mt->consumer = NULL;
312 if (!strcmp(name, "geom") && mt->consumer != NULL) {