Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 34936) +++ trunk/scconfig/Rev.h (revision 34937) @@ -1 +1 @@ -static const int myrev = 34912; +static const int myrev = 34937; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 34936) +++ trunk/scconfig/Rev.tab (revision 34937) @@ -1,3 +1,4 @@ +34937 configure lib_netmap: 2net mapping code placeholder (for io_pads) 34912 configure renames for 3.0.0 34899 configure remove glib from puller 34772 configure version bump to 3.0.0-dev and related API changes in librnd Index: trunk/src_plugins/lib_netmap/Plug.tmpasm =================================================================== --- trunk/src_plugins/lib_netmap/Plug.tmpasm (revision 34936) +++ trunk/src_plugins/lib_netmap/Plug.tmpasm (revision 34937) @@ -1,6 +1,7 @@ put /local/pcb/mod {lib_netmap} put /local/pcb/mod/OBJS [@ $(PLUGDIR)/lib_netmap/netmap.o + $(PLUGDIR)/lib_netmap/map_2nets.o $(PLUGDIR)/lib_netmap/placement.o @] Index: trunk/src_plugins/lib_netmap/lib_netmap.pup =================================================================== --- trunk/src_plugins/lib_netmap/lib_netmap.pup (revision 34936) +++ trunk/src_plugins/lib_netmap/lib_netmap.pup (revision 34937) @@ -3,4 +3,5 @@ $long create disposable cross-reference maps between all objects and all nets $state works $package lib-io +dep query default disable-all Index: trunk/src_plugins/lib_netmap/map_2nets.c =================================================================== --- trunk/src_plugins/lib_netmap/map_2nets.c (nonexistent) +++ trunk/src_plugins/lib_netmap/map_2nets.c (revision 34937) @@ -0,0 +1,48 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 2021 Tibor 'Igor2' Palinkas + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Contact: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include "config.h" + +#include + +#include "map_2nets.h" +#include "data.h" +#include "find.h" +#include "netlist.h" +#include +#include + +int pcb_map_2nets_init(pcb_2netmap_t *map, pcb_board_t *pcb, pcb_2netmap_control_t how) +{ + + return -1; +} + +int pcb_map_2nets_uninit(pcb_2netmap_t *map) +{ + return -1; +} + Index: trunk/src_plugins/lib_netmap/map_2nets.h =================================================================== --- trunk/src_plugins/lib_netmap/map_2nets.h (nonexistent) +++ trunk/src_plugins/lib_netmap/map_2nets.h (revision 34937) @@ -0,0 +1,39 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * Copyright (C) 2021 Tibor 'Igor2' Palinkas + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Contact: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include "board.h" + +typedef enum { /* bits */ + PCB_2NETMAPCTRL_RATS = 1 /* include rat lines */ +} pcb_2netmap_control_t; + +typedef struct pcb_2netmap_s { + pcb_2netmap_control_t ctrl; +} pcb_2netmap_t; + + +int pcb_map_2nets_init(pcb_2netmap_t *map, pcb_board_t *pcb, pcb_2netmap_control_t how); +int pcb_map_2nets_uninit(pcb_2netmap_t *map);