Lines Matching refs:cf
137 struct conf *cf;
141 cf = calloc(sizeof(struct conf), 1);
142 cf->l1 = genlist_init();
143 cf->l2 = genlist_init();
145 genlist_insert(cf->l1, "Ahoj");
146 genlist_insert(cf->l1, "Cau");
147 genlist_insert(cf->l1, "Nazdar");
148 genlist_insert(cf->l1, "Te buch");
150 genlist_append(cf->l2, "Curak");
151 genlist_append(cf->l2, "Kozy");
152 genlist_append(cf->l2, "Pica");
153 genlist_append(cf->l2, "Prdel");
156 dump_list(cf->l2);
158 dump_list(cf->l1);
161 for (cp = genlist_next (cf->l2, &gpb); cp; cp = genlist_next (0, &gpb))
166 * genlist_free (cf->l1, 0); but to illustrate the idea */
167 genlist_free (cf->l1, free_data);
168 cf->l1 = 0;