libsmartcols Reference Manual | ||||
---|---|---|---|---|
Top | Description |
struct libscols_iter; void scols_free_iter (struct libscols_iter *itr
); int scols_iter_get_direction (struct libscols_iter *itr
); struct libscols_iter * scols_new_iter (int direction
); void scols_reset_iter (struct libscols_iter *itr
,int direction
);
The iterator keeps the direction and the last position for access to the internal library tables/lists.
void scols_free_iter (struct libscols_iter *itr
);
Deallocates the iterator.
|
iterator pointer |
int scols_iter_get_direction (struct libscols_iter *itr
);
|
iterator pointer |
Returns : |
SCOLS_INTER_{FOR,BACK}WARD |
struct libscols_iter * scols_new_iter (int direction
);
|
SCOLS_INTER_{FOR,BACK}WARD direction |
Returns : |
newly allocated generic libmount iterator. |