1VIEWPHVIA(3) MBK PHYSICAL FUNCTIONS VIEWPHVIA(3)
2
3
4
6 viewphvia - display elements of a phvia_list
7
9 #include "mph.h"
10 void viewphvia(pt)
11 phvia_list ∗pt;
12
14 pt Pointer to the phvia to be scanned
15
17 viewphvia scans all the primary elements of the phvia_list pointed to
18 by pt, and displays a textual output of the data strcuture contents.
19 Its use is mostly for debugging purposes, and educational ones, since
20 the output is quite verbose, even if very easy to understand.
21
23 #include <stdio.h>
24 #include "mph.h"
25 void view_via(ptfig)
26 phfig_list ∗ptfig;
27 {
28 phvia_list ∗via;
29 for (via = ptfig->PHVIA; via; via = via->NEXT)
30 viewphvia(via);
31 }
32
34 mbk(1), phvia(3), viewph(3), viewphfig(3), viewphseg(3), viewphref(3),
35 viewphins(3), viewphcon(3).
36
37
38
39
40
41
42ASIM/LIP6 October 1, 1997 VIEWPHVIA(3)