thirdparty/misc/cqueue.cpp
int queue_peek(Queue *const q, int64_t idx, struct QueueData *const d) {
	struct FileItr itr;
	memset(&itr, 0, sizeof(itr));
	struct JournalEntry  je;
	int results = queue_index_lookup(q,  idx, &itr,d, &je);
	closeFileItr(&itr);
	return results;
}
/**
 * NOTE, you can only peek 0, idx not implemented yet
 */
NOTE, you can only peek 0, idx not implemented yet
NOTE you can only peek 0 idx not implemented yet
int queue_peek(Queue *const q, int64_t idx, struct QueueData *const d) {
	struct FileItr itr;
	memset(&itr, 0, sizeof(itr));
	struct JournalEntry  je;
	int results = queue_index_lookup(q,  idx, &itr,d, &je);
	closeFileItr(&itr);
	return results;
}
int queue_peek ( Queue * const q , int64_t idx , struct QueueData * const d ) { struct FileItr itr ; memset ( & itr , 0 , sizeof ( itr ) ) ; struct JournalEntry je ; int results = queue_index_lookup ( q , idx , & itr , d , & je ) ; closeFileItr ( & itr ) ; return results ; }
NOTE, you can only peek 0, idx not implemented yet
NOTE you can only peek 0 idx not implemented yet