DOKK / manpages / debian 10 / alliance / viewphvia.3.en
() ()

See the file buster/alliance/alc_origin.1.en.gz.

viewphvia - display elements of a phvia_list

#include "mph.h"
void viewphvia(pt)
phvia_list ∗pt;

Pointer to the phvia to be scaned

viewphvia scans all the primary elements of the phvia_list pointed to by pt, and displays a textual output of the data strcuture contents.
Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.

#include <stdio.h>
#include "mph.h"
void view_via(ptfig)
phfig_list ∗ptfig;
{
phvia_list ∗via;
	for (via = ptfig->PHVIA; via; via = via->NEXT)
		viewphvia(via);
}

mbk(1), phvia(3), viewph(3), viewphfig(3), viewphseg(3), viewphref(3), viewphins(3), viewphcon(3).

See the file buster/alliance/alc_bug_report.1.en.gz.