.TH "globus_hashtable_iterators" 3 "Version 18.14" "globus_common" \" -*- nroff -*- .ad l .nh .SH NAME globus_hashtable_iterators \- Iterators .PP \- Iterators\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "void * \fBglobus_hashtable_first\fP (globus_hashtable_t *table)" .br .RI "Initialize iterator to first hash table entry\&. " .ti -1c .RI "void * \fBglobus_hashtable_next\fP (globus_hashtable_t *table)" .br .RI "Increment hash table iterator\&. " .ti -1c .RI "void * \fBglobus_hashtable_last\fP (globus_hashtable_t *table)" .br .RI "Initialize iterator to last hash table entry\&. " .ti -1c .RI "void * \fBglobus_hashtable_prev\fP (globus_hashtable_t *table)" .br .RI "Decrement hash table iterator\&. " .in -1c .SH "Detailed Description" .PP Iterators\&. The iterator is initially NULL until one of \fBglobus_hashtable_first()\fP or \fBglobus_hashtable_last()\fP has been called\&. All other calls have no effect on iterator except for \fBglobus_hashtable_remove()\fP\&. If the iterator points at the entry being removed, the iterator is moved to the next entry\&. .PP Once an 'end' has been reached with \fBglobus_hashtable_next()\fP or \fBglobus_hashtable_prev()\fP, the iterator must again be reset with \fBglobus_hashtable_first()\fP or \fBglobus_hashtable_last()\fP before being used\&. .SH "Function Documentation" .PP .SS "void * globus_hashtable_first (globus_hashtable_t * table)" .PP Initialize iterator to first hash table entry\&. Set iterator to first entry and return datum, NULL if empty .SS "void * globus_hashtable_last (globus_hashtable_t * table)" .PP Initialize iterator to last hash table entry\&. Set iterator to last entry and return datum, NULL if empty .SS "void * globus_hashtable_next (globus_hashtable_t * table)" .PP Increment hash table iterator\&. Set iterator to next entry and return datum, NULL if at end .SS "void * globus_hashtable_prev (globus_hashtable_t * table)" .PP Decrement hash table iterator\&. Set iterator to the previous entry and return datum, NULL if at end .SH "Author" .PP Generated automatically by Doxygen for globus_common from the source code\&.