.\" $Id: viewloself.3,v 1.1 2002/08/14 22:16:17 pnt Exp $ .\" @(#)viewloself.2 2.11 2002/08/14 ; Labo LIP6/ASIM; Author : Pierre Nguyen Tuong .if t \{\ .XS \n% .ti 0.2i viewloself .XE .XS2 \n% .ti 0.2i viewloself .XE2 \} .TH VIEWLOSELF 3 "August 14, 2002" "ASIM/LIP6" "MBK LOGICAL FUNCTIONS" .SH NAME viewloself \- display elements of a \fBloself_list\fP .so buster/alliance/alc_origin.1.en.gz .SH SYNOPSYS .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "mlo.h" void viewloself(ptself) loself_list \(**ptself ; .ft R .fi .SH PARAMETER .TP 20 \fIptself\fP Pointer to the \fBloself\fP to be scaned .SH DESCRIPTION \fBviewloself\fP scans all the primary elements of the \fBloself_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_self(lofig_list \(**ptfig) { loself_list \(**self = NULL ; for(self = ptfig \-> LOSELF ; self != NULL ; self = self \-> NEXT) { viewloself(self) ; } } .ft R .fi .SH SEE ALSO .BR mbk (1), .BR loself (3), .BR viewlo (3), .BR viewlofig (3), .BR viewloself (3), .BR viewlosig (3), .BR viewloinscon (3), .BR viewlofigcon (3). .so buster/alliance/alc_bug_report.1.en.gz