Esempio n. 1
0
File: redis.c Progetto: Fale/zmap
int redis_spull(redisContext* rctx, char *redisqueuename, void *buf,
		int maxload, size_t obj_size, int *numloaded)
{
	return redis_pull(rctx, redisqueuename, buf,
			maxload, obj_size, numloaded, "SRAND");
}
Esempio n. 2
0
int redis_lpull(char *redisqueuename, void *buf, 
		int maxload, size_t obj_size, int *numloaded)
{
	return redis_pull(redisqueuename, buf, 
			maxload, obj_size, numloaded, "LPOP");
}