viewlores3
Display elements of a lores_list
Synopsys
#include "mlo.h" void viewlores(ptres) lores_list ∗ptres ;
Parameter
- ptres
-
Pointer to the
loresto be scaned
Overview
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.
Examples
#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) ;
}
}
Releases
Unchanged in 4 releases since Debian 7 (Wheezy).