viewloins(3) display elements of a loins_list

SYNOPSYS

#include "mlo.h"
void viewloins(pt)
loins_list *pt;

PARAMETER

pt
Pointer to the loins to be scaned

DESCRIPTION

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.

EXAMPLE

#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);
}