Welcome to NYCU CSIT Mirror site
Iterator: libsmartcols Reference Manual
Iterator
Iterator — unified iterator
|
|
Description
The iterator keeps the direction and the last position
for access to the internal library tables/lists.
Functions
scols_free_iter ()
void
scols_free_iter (struct libscols_iter *itr
);
Deallocates the iterator.
scols_iter_get_direction ()
int
scols_iter_get_direction (struct libscols_iter *itr
);
Returns
SCOLS_INTER_{FOR,BACK}WARD
scols_new_iter ()
struct libscols_iter *
scols_new_iter (int direction
);
Returns
newly allocated generic libmount iterator.
scols_reset_iter ()
void
scols_reset_iter (struct libscols_iter *itr
,
int direction
);
Resets the iterator.
Types and Values
struct libscols_iter
struct libscols_iter;
Generic iterator