.\" $Id: viewlores.3,v 1.1 2002/08/14 22:16:17 pnt Exp $ .\" @(#)viewlores.2 2.11 2002/08/14 ; Labo LIP6/ASIM; Author : Pierre Nguyen Tuong .if t \{\ .XS \n% .ti 0.2i viewlores .XE .XS2 \n% .ti 0.2i viewlores .XE2 \} .TH VIEWLORES 3 "August 14, 2002" "ASIM/LIP6" "MBK LOGICAL FUNCTIONS" .SH NAME viewlores \- display elements of a \fBlores_list\fP .so jessie/alliance/alc_origin.1.en.gz .SH SYNOPSYS .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "mlo.h" void viewlores(ptres) lores_list \(**ptres ; .ft R .fi .SH PARAMETER .TP 20 \fIptres\fP Pointer to the \fBlores\fP to be scaned .SH DESCRIPTION \fBviewlores\fP scans all the primary elements of the \fBlores_list\fP loaded in ram, and displays a textual output of the data strcuture contents. .br Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand. .SH EXAMPLE .ta 3n 6n 9n 12n 15n 18n 21n .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include #include "mlo.h" void view_res(lofig_list \(**ptfig) { lores_list \(**res = NULL ; for(res = ptfig \-> LORES ; res != NULL ; res = res \-> NEXT) { viewlores(res) ; } } .ft R .fi .SH SEE ALSO .BR mbk (1), .BR lores (3), .BR viewlo (3), .BR viewlofig (3), .BR viewlores (3), .BR viewlosig (3), .BR viewloinscon (3), .BR viewlofigcon (3). .so jessie/alliance/alc_bug_report.1.en.gz