viewloins3
Display elements of a loins_list
Synopsys
#include "mlo.h" void viewloins(pt) loins_list ∗pt;
Parameter
- pt
-
Pointer to the
loinsto be scaned
Overview
viewloins scans all the primary elements of the loins_list pointed to by pt, and displays a textual output of the data strcuture contents. The LOCON field is scaned, and its contents displayed.
Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.
Examples
#include <stdio.h>
#include "mlo.h"
void view_ins(ptfig)
lofig_list ∗ptfig;
{
loins_list ∗ins;
for (ins = ptfig->LOINS; ins; ins = ins->NEXT)
viewloins(ins);
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.