smb_avl_iterate
while ((shr = smb_avl_iterate(share_avl, &cursor)) != NULL) {
void *smb_avl_iterate(smb_avl_t *, smb_avl_cursor_t *);