.TH "Iterators" 3 "Sat Nov 8 2014" "Version 15.26" "globus_common" \" -*- nroff -*- .ad l .nh .SH NAME Iterators \- .SS "Functions" .in +1c .ti -1c .RI "void * \fBglobus_hashtable_first\fP (globus_hashtable_t *table)" .br .RI "\fIInitialize iterator to first hash table entry\&. \fP" .ti -1c .RI "void * \fBglobus_hashtable_next\fP (globus_hashtable_t *table)" .br .RI "\fIIncrement hash table iterator\&. \fP" .ti -1c .RI "void * \fBglobus_hashtable_last\fP (globus_hashtable_t *table)" .br .RI "\fIInitialize iterator to last hash table entry\&. \fP" .ti -1c .RI "void * \fBglobus_hashtable_prev\fP (globus_hashtable_t *table)" .br .RI "\fIDecrement hash table iterator\&. \fP" .in -1c .SH "Detailed Description" .PP 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\&.