Cleanup r_string when leaving make_route_string().
[geda-pcb/pcjc2.git] / src / rats.h
blobdc7479b72be41c62ed2c310bc155a46828eb5ca1
1 /*
2 * COPYRIGHT
4 * PCB, interactive printed circuit board design
5 * Copyright (C) 1994,1995,1996 Thomas Nau
7 * rats.c, rats.h Copyright (C) 1997, harry eaton
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 * Contact addresses for paper mail and Email:
24 * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
25 * Thomas.Nau@rz.uni-ulm.de
29 /* prototypes for rats routines
32 #ifndef PCB_RATS_H
33 #define PCB_RATS_H
35 #include "global.h"
37 /* This one is actually in netlist.h, but it's used by rats.c */
38 LibraryMenuType * netnode_to_netname (char *nodename);
39 LibraryMenuType * netname_to_netname (char *netname);
41 RatType * AddNet (void);
42 char *ConnectionName (int, void *, void *);
44 bool AddAllRats (bool, void (*)(register ConnectionType *, register ConnectionType *, register RouteStyleType *));
45 bool SeekPad (LibraryEntryType *, ConnectionType *, bool);
47 NetListType * ProcNetlist (LibraryType *);
48 NetListListType CollectSubnets (bool);
50 #endif