From 35ce9e36213843ed8349a849a3b73c71d286a525 Mon Sep 17 00:00:00 2001 From: Riccardo Elitropi Date: Wed, 24 Sep 2025 16:08:16 +0200 Subject: [PATCH] Include : - aggiunti prototipi funzioni hiredis. --- EXeExecutor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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) ;