Lines Matching defs:cur_pos
491 static u_int32_t cur_pos; /* Saved position index (ID) - used to remember "position" across FPCatSearch calls */
507 if (*pos != 0 && *pos != cur_pos) {
671 cur_pos = *pos;
711 static uint32_t cur_pos;
721 *pos, cur_pos, uname);
723 if (*pos != 0 && *pos != cur_pos) {
728 if (cur_pos == 0 || *pos == 0) {
754 while (cur_pos < num_matches) {
761 memcpy(&cnid, resbuf + cur_pos * sizeof(cnid_t), sizeof(cnid_t));
767 cur_pos, name, ntohl(cnid));
818 cur_pos++;
823 cur_pos = 0;
827 *pos = cur_pos;
831 LOG(log_debug, logtype_afpd, "catsearch_db(req pos: %u): {pos: %u}", *pos, cur_pos);