1 | #include <config.h> |
---|---|
2 | #include "lst.h" |
3 | |
4 | int lstSeekItem( HLST hLst, HLSTITEM hItem ) |
5 | { |
6 | if ( !hLst ) |
7 | return false; |
8 | |
9 | lstFirst( hLst ); |
10 | while ( !lstEOL( hLst ) ) |
11 | { |
12 | if ( hLst->hCurrent == hItem ) |
13 | return true; |
14 | |
15 | lstNext( hLst ); |
16 | } |
17 | |
18 | return false; |
19 | } |
20 | |
21 | |
22 | |
23 |