1#include <config.h>
2#include "lst.h"
3
4void _lstDump( HLST hLst )
5{
6 HLSTITEM hItem;
7 int nItem = 0;
8
9 printf( "LST - BEGIN DUMP\n" );
10
11 if ( hLst )
12 {
13 printf( "\thLst = %p\n", hLst );
14 printf( "\t\thLst->hLstBase = %p\n", hLst->hLstBase );
15
16 hItem = hLst->hFirst;
17 while ( hItem )
18 {
19 printf( "\t%d\n", nItem );
20 printf( "\t\thItem = %p\n", hItem );
21 printf( "\t\thItem->bDelete = %d\n", hItem->bDelete );
22 printf( "\t\thItem->bHide = %d\n", hItem->bHide );
23 printf( "\t\thItem->pData = %p\n", hItem->pData );
24 printf( "\t\thItem->hLst = %p\n", hItem->hLst );
25
26 nItem++;
27 hItem = hItem->pNext;
28 }
29 }
30 printf( "LST - END DUMP\n" );
31}
32
33