libmount Reference Manual | ||||
---|---|---|---|---|
Top | Description |
struct libmnt_iter; void mnt_free_iter (struct libmnt_iter *itr
); int mnt_iter_get_direction (struct libmnt_iter *itr
); struct libmnt_iter * mnt_new_iter (int direction
); void mnt_reset_iter (struct libmnt_iter *itr
,int direction
);
The iterator keeps the direction and the last position for access to the internal library tables/lists.
void mnt_free_iter (struct libmnt_iter *itr
);
Deallocates the iterator.
|
iterator pointer |
int mnt_iter_get_direction (struct libmnt_iter *itr
);
|
iterator pointer |
Returns : |
MNT_INTER_{FOR,BACK}WARD |
struct libmnt_iter * mnt_new_iter (int direction
);
|
MNT_INTER_{FOR,BACK}WARD direction |
Returns : |
newly allocated generic libmount iterator. |