viewloinscon3
Display elements of a locon_list attached to an instance
Synopsys
#include "mlo.h" void viewloinscon(ptcon) locon_list ∗ptcon;
Parameter
- ptcon
-
Pointer to the
loconto be scaned
Overview
viewloinscon scans all the primary elements of the locon_list loaded in ram, 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.
Examples
#include <stdio.h>
#include "mlo.h"
void view_inscon(ptins)
loins_list ∗ptins;
{
locon_list ∗inscon;
for (inscon = ptins->LOCON; inscon; inscon = inscon->NEXT)
viewloinscon(inscon);
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.