Index: plug_io.h =================================================================== --- plug_io.h (revision 27360) +++ plug_io.h (revision 27361) @@ -149,6 +149,9 @@ void pcb_set_design_dir(const char *fn); int pcb_load_buffer(pcb_hidlib_t *hidlib, pcb_buffer_t *buff, const char *fn, const char *fmt); +/* Find the plugin that offers the highest write prio for the format */ +pcb_plug_io_t *pcb_io_find_writer(pcb_plug_iot_t typ, const char *fmt); + /********** helpers **********/ /* wish we had more than 32 IO plugins... */