mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 22:11:33 +00:00
[In-Progress] Add Geo Commands
Current todo: - replace functions in zset.{c,h} with a new unified Redis zset access API. Once we get the zset interface fixed, we can squash relevant commits in this branch and have one nice commit to merge into unstable. This commit adds: - Geo commands - Tests; runnable with: ./runtest --single unit/geo - Geo helpers in deps/geohash-int/ - src/geo.{c,h} and src/geojson.{c,h} implementing geo commands - Updated build configurations to get everything working - TEMPORARY: src/zset.{c,h} implementing zset score and zset range reading without writing to client output buffers. - Modified linkage of one t_zset.c function for use in zset.c Conflicts: src/Makefile src/redis.c
This commit is contained in:
12
src/geo.h
Normal file
12
src/geo.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef __GEO_H__
|
||||
#define __GEO_H__
|
||||
|
||||
#include "redis.h"
|
||||
|
||||
void geoEncodeCommand(redisClient *c);
|
||||
void geoDecodeCommand(redisClient *c);
|
||||
void geoRadiusByMemberCommand(redisClient *c);
|
||||
void geoRadiusCommand(redisClient *c);
|
||||
void geoAddCommand(redisClient *c);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user