SYNOPSYS
#include "mlo.h" void viewlores(ptres) lores_list *ptres ;
PARAMETER
- ptres
- Pointer to the lores to be scaned
DESCRIPTION
viewlores scans all the primary elements of the lores_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_res(lofig_list *ptfig) { lores_list *res = NULL ; for(res = ptfig -> LORES ; res != NULL ; res = res -> NEXT) { viewlores(res) ; } }