Top |
void | fdisk_free_iter () |
int | fdisk_iter_get_direction () |
struct fdisk_iter * | fdisk_new_iter () |
void | fdisk_reset_iter () |
The iterator keeps the direction and the last position for access to the internal library tables/lists.
It's very unusual to use the same iterator on multiple places in your
application or share the same iterator, for this purpose libfdisk does not
provide reference counting for this object. It's recommended to initialize
the iterator by fdisk_new_iter()
at begin of your function and then
fdisk_free_iter()
before you return from the function.
Don't forget to call fdisk_reset_iter()
if you want to use the iterator more
than once.