+struct cfitem *cf_get_item(byte *sect, byte *name)
+{
+ struct cfitem *item;
+
+ item=cfsection;
+ while(item && strcasecmp(item->name,sect))
+ item=item->var;
+ if(!item) /* unknown section */
+ return NULL;
+
+ for(item++; item->type && strcasecmp(item->name,name); item++);
+
+ return item; /* item->type == 0 if not found */
+}
+
+byte *cf_set_item(byte *sect, byte *name, byte *value)