viewlotrs3
Display elements of a lotrs_list
Synopsys
#include "mlo.h" void viewlotrs(pttrs) lotrs_list ∗pttrs;
Parameter
- pttrs
-
Pointer to the
lotrsto be scaned
Overview
viewlotrs scans all the primary elements of the lotrs_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_trs(ptfig)
lofig_list ∗ptfig;
{
lotrs_list ∗trs;
for (trs = ptfig->LOTRS; trs; trs = trs->NEXT)
viewlotrs(trs);
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.