static int32 Sql_P_KeepaliveTimer(uint32 tick,CTaskMgr::CTask* PTask) { Sql_t* self = (Sql_t*)PTask->m_data; ShowInfo("Pinging SQL server to keep connection alive...\n"); Sql_Ping(self); return 0; }
/// Wrapper function for Sql_Ping. /// /// @private static int Sql_P_KeepaliveTimer(int tid, unsigned int tick, int id, intptr_t data) { Sql* self = (Sql*)data; ShowInfo("Pinging SQL server to keep connection alive...\n"); Sql_Ping(self); return 0; }