Geo: JSON features removed

The command can only return data in the normal Redis protocol. It is up
to the caller to translate to JSON if needed.
This commit is contained in:
antirez
2015-06-22 11:53:14 +02:00
parent f193b3caa8
commit b18c68aa7f
6 changed files with 25 additions and 460 deletions

View File

@ -9,4 +9,13 @@ void geoRadiusByMemberCommand(redisClient *c);
void geoRadiusCommand(redisClient *c);
void geoAddCommand(redisClient *c);
struct geoPoint {
double latitude;
double longitude;
double dist;
char *set;
char *member;
void *userdata;
};
#endif