SYNOPSYS
#include "mlo.h" void viewlotrs(pttrs) lotrs_list *pttrs;
PARAMETER
- pttrs
- Pointer to the lotrs to be scaned
DESCRIPTION
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.
EXAMPLE
#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); }