Lines Matching defs:cursor
220 * Initializes the given cursor for iterating the cache
223 smb_cache_iterinit(smb_cache_t *chandle, smb_cache_cursor_t *cursor)
225 cursor->cc_sequence = chandle->ch_sequence;
226 cursor->cc_next = NULL;
230 * Iterate the cache using the given cursor.
240 smb_cache_iterate(smb_cache_t *chandle, smb_cache_cursor_t *cursor, void *data)
249 if (cursor->cc_sequence != chandle->ch_sequence) {
254 if (cursor->cc_next == NULL)
257 node = AVL_NEXT(&chandle->ch_cache, cursor->cc_next);
262 cursor->cc_next = node;