Skip to content
Snippets Groups Projects

SCRUM#6 - Modifying agent update to execute agent.run in tmp dir

Merged SCRUM#6 - Modifying agent update to execute agent.run in tmp dir
Merged Lais Frigério requested to merge issue/6 into development
3 files
+ 36
47
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 3
2
@@ -4,6 +4,7 @@
#include <sys/utsname.h>
#endif // __unix__
#include <fstream>
#include <stdlib.h>
#include <cpr/cpr.h>
#include <json/json.h>
#include <agent/agent.h>
@@ -23,5 +24,5 @@ const std::string url = "http://localhost:3001";
int check_update();
void create_directories(Agent);
bool compare_version(Agent*, std::string, std::fstream*);
bool copy_bin_file_to_destiny_directory(std::fstream*, Agent*, boost::filesystem::path);
bool download(Conf, Agent*, std::fstream*);
\ No newline at end of file
bool download(Conf, Agent*, std::fstream*);
void execute_agent(boost::filesystem::path);
\ No newline at end of file
Loading