diff --git a/EXeExecutor.h b/EXeExecutor.h index 94d9fe4..f9eb3f7 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -1455,3 +1455,15 @@ EXE_EXPORT int ExeAddPicture( int nParentId, const std::string& sName, const st EXE_EXPORT bool ExeLoadMessages( const std::string& sMsgFilePath) ; EXE_EXPORT const std::string& ExeGetLanguage( void) ; EXE_EXPORT const std::string& ExeGetMsg( int nMsg) ; + +// Redis +EXE_EXPORT bool ExeRedisConnect( const std::string& sHost, int nPort, int nDataBase, double dTimeOutSeconds) ; +EXE_EXPORT bool ExeRedisAsyncConnect( const std::string& sHost, int nPort, int nDataBase, double dMaxTimeOut) ; +EXE_EXPORT bool ExeRedisDisconnect( void) ; +EXE_EXPORT bool ExeRedisAsyncDisconnect( void) ; +EXE_EXPORT bool ExeRedisGetValFromKey( const std::string& sKey, std::string& sVal) ; +EXE_EXPORT bool ExeRedisSetValFromKey( const std::string& sKey, const std::string& sVal) ; +EXE_EXPORT bool ExeRedisWaitForMessage( const std::string& sChannel, double dMaxTimeOut, std::string& sMessage) ; +EXE_EXPORT bool ExeRedisPublish( const std::string& sChannel, const std::string& sMessage) ; +EXE_EXPORT bool ExeRedisSubscribe( const std::string& sChannel) ; +EXE_EXPORT bool ExeRedisUnsubscribe( const std::string& sChannel) ;