RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
00001 /* redis_utils.h 00002 Wolfgang Sourdeau, 17 December 2012 00003 Copyright (c) 2012 Datacratic. All rights reserved. 00004 00005 Redis migration class 00006 */ 00007 #ifndef REDIS_UTILS_H 00008 #define REDIS_UTILS_H 00009 00010 namespace RTBKIT { 00011 00012 /* convert redis INT or STRING reply to long long int and validate type */ 00013 bool GetRedisReplyAsInt(const Redis::Reply & reply, long long int & value); 00014 00015 } // namespace RTBKIT 00016 00017 #endif /* REDIS_UTILS_H */