Index: plug_import.c =================================================================== --- plug_import.c (revision 29483) +++ plug_import.c (revision 29484) @@ -88,7 +88,18 @@ #undef cb_append } +pcb_plug_import_t *pcb_lookup_importer(const char *name) +{ + pcb_plug_import_t *p; + for(p = pcb_plug_import_chain; p != NULL; p = p->next) + if (strcmp(p->name, name) == 0) + return p; + + return NULL; +} + + int pcb_import(pcb_hidlib_t *hidlib, char *filename, unsigned int aspect) { pcb_plug_import_t *plug;