#ifndef LOGSENDER_H #define LOGSENDER_H #include "Singleton.h" #include "Config.h" #include #ifndef _WIN32 #include #endif // !_WIN32 typedef std::vector FileVector; class LogSender : public Singleton { friend class Singleton; LogSender(); public: void Send(); void ListFiles(FileVector& files); void SuricataAliveCheck(); private: bool InitCurl(CURL*& curl, curl_slist*& headers); bool _secured; }; #define sLogSender LogSender::instance() #endif // !LOGSENDER_H