1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
/*--------------------------------------------------------------*/
/* qrouter entry point for non-Tcl compile version */
/*--------------------------------------------------------------*/
#include <stdio.h>
#include "qrouter.h"
/*--------------------------------------------------------------*/
/* Procedure main() performs the basic route steps without any */
/* interaction or scripting, writes a DEF file as output, and */
/* exits. */
/*--------------------------------------------------------------*/
int
main(int argc, char *argv[])
{
int result;
result = runqrouter(argc, argv);
if (result != 0) return result;
read_def(NULL);
dofirststage(0);
dosecondstage(0);
write_def(NULL);
return 0;
}
/*--------------------------------------------------------------*/
/* Define graphics routines as empty subroutines. May want to */
/* provide a simple X11 graphics environment outside of Tcl/Tk */
/*--------------------------------------------------------------*/
void
highlight_source() {
}
void
highlight_dest() {
}
void
highlight_starts(POINT glist) {
}
void
highlight_mask() {
}
void
highlight(int x, int y) {
}
void
draw_net(NET net, u_char single, int *lastlayer) {
}
void
draw_layout() {
}
int
recalc_spacing() {
return 0;
}
|