1 #ifndef __ECLCONNECTION_HPP_
2 #define __ECLCONNECTION_HPP_
8 #include <otsdaq-utilities/ECLWriter/ECL.hxx>
20 ECLConnection(std::string user, std::string password, std::string url);
24 bool Get(std::string, std::string&);
25 bool Search(std::string);
27 static std::string EscapeECLString(std::string input =
"");
29 static Attachment_t MakeAttachmentImage(std::string
const& imageFileName);
31 static Attachment_t MakeAttachmentFile(std::string
const& fileName);
34 std::string MakeSaltString();
35 static size_t WriteMemoryCallback(
char*,
size_t,
size_t, std::string*);