1VIEWPHREF(3)                MBK PHYSICAL FUNCTIONS                VIEWPHREF(3)
2
3
4

NAME

6       viewphref - display elements of a phref_list
7

SYNOPSIS

9       #include "mph.h"
10       void viewphref(pt)
11       phref_list ∗pt;
12

PARAMETER

14       pt                  Pointer to the phref to be scanned
15

DESCRIPTION

17       viewphref  scans  all the primary elements of the phref_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

EXAMPLE

23       #include <stdio.h>
24       #include "mph.h"
25       void view_ref(ptfig)
26       phfig_list ∗ptfig;
27       {
28       phref_list ∗ref;
29          for (ref = ptfig->PHREF; ref; ref = ref->NEXT)
30             viewphref(ref);
31       }
32

SEE ALSO

34       mbk(1),  phref(3), viewph(3), viewphfig(3), viewphseg(3), viewphins(3),
35       viewphvia(3), viewphcon(3).
36
37
38
39
40
41
42ASIM/LIP6                       October 1, 1997                   VIEWPHREF(3)
Impressum