Index: mentor_sch.c =================================================================== --- mentor_sch.c (revision 30897) +++ mentor_sch.c (revision 30898) @@ -96,7 +96,7 @@ } nethlp_elem_done(&PCB->hidlib, &ectx); -/* pcb_actionva(&PCB->hidlib, "ElementList", "Need", null_empty(sattr->refdes), null_empty(sattr->footprint), null_empty(sattr->value), NULL);*/ +/* rnd_actionva(&PCB->hidlib, "ElementList", "Need", null_empty(sattr->refdes), null_empty(sattr->footprint), null_empty(sattr->value), NULL);*/ return 0; } @@ -177,9 +177,9 @@ return -1; } - pcb_actionva(&PCB->hidlib, "Netlist", "Freeze", NULL); - pcb_actionva(&PCB->hidlib, "Netlist", "Clear", NULL); - pcb_actionva(&PCB->hidlib, "ElementList", "start", NULL); + rnd_actionva(&PCB->hidlib, "Netlist", "Freeze", NULL); + rnd_actionva(&PCB->hidlib, "Netlist", "Clear", NULL); + rnd_actionva(&PCB->hidlib, "ElementList", "start", NULL); for(library = dom->root->children; library != NULL; library = library->next) { if (strcmp(library->str, "library") == 0) { @@ -199,9 +199,9 @@ } } - pcb_actionva(&PCB->hidlib, "ElementList", "Done", NULL); - pcb_actionva(&PCB->hidlib, "Netlist", "Sort", NULL); - pcb_actionva(&PCB->hidlib, "Netlist", "Thaw", NULL); + rnd_actionva(&PCB->hidlib, "ElementList", "Done", NULL); + rnd_actionva(&PCB->hidlib, "Netlist", "Sort", NULL); + rnd_actionva(&PCB->hidlib, "Netlist", "Thaw", NULL); /* for(n = library->children; n != NULL; n = n->next) { printf("n=%s\n", n->str); @@ -300,7 +300,7 @@ static pcb_plug_import_t import_mentor_sch; -pcb_action_t mentor_sch_action_list[] = { +rnd_action_t mentor_sch_action_list[] = { {"LoadMentorFrom", pcb_act_LoadMentorFrom, pcb_acth_Loadmentor_schFrom, pcb_acts_Loadmentor_schFrom} }; @@ -308,7 +308,7 @@ void pplg_uninit_import_mentor_sch(void) { - pcb_remove_actions_by_cookie(mentor_sch_cookie); + rnd_remove_actions_by_cookie(mentor_sch_cookie); pcb_conf_unreg_fields("plugins/import_mentor_sch/"); PCB_HOOK_UNREGISTER(pcb_plug_import_t, pcb_plug_import_chain, &import_mentor_sch); } Index: netlist_helper.c =================================================================== --- netlist_helper.c (revision 30897) +++ netlist_helper.c (revision 30898) @@ -256,7 +256,7 @@ if (value == NULL) value = ""; /* create elemet */ - pcb_actionva(hl, "ElementList", "Need", refdes, footprint, value, NULL); + rnd_actionva(hl, "ElementList", "Need", refdes, footprint, value, NULL); /* printf("Elem '%s' -> %s:%s:%s\n", ectx->id, refdes, footprint, value);*/ } else @@ -296,7 +296,7 @@ pcb_message(PCB_MSG_ERROR, "nethelper: can't resolve refdes of part %s\n", part); } pcb_snprintf(term, sizeof(term), "%s-%s", refdes, pin); - pcb_actionva(hl, "Netlist", "Add", nctx->netname, term, NULL); + rnd_actionva(hl, "Netlist", "Add", nctx->netname, term, NULL); } void nethlp_net_destroy(nethlp_net_ctx_t *nctx)