This commit is contained in:
parent
707e973130
commit
5be6a3e038
@ -13,6 +13,15 @@ cat <<EOF > "$SCRIPT_DIR/src/utils/createagent.hpp"
|
|||||||
#ifndef CREATEAGENT_HPP
|
#ifndef CREATEAGENT_HPP
|
||||||
#define CREATEAGENT_HPP
|
#define CREATEAGENT_HPP
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
CREATEAGENT.HPP IS AUTOMATICALLY GENERATED FROM make_createagent.sh,
|
||||||
|
and recreates the files in /agent/ on a remote server.
|
||||||
|
|
||||||
|
DO NOT EDIT THIS FILE MANUALLY! Edit make_createagent.sh instead.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace dropshell {
|
namespace dropshell {
|
||||||
@ -35,6 +44,17 @@ cat <<CPPEOF > "$SCRIPT_DIR/src/utils/createagent.cpp"
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
CREATEAGENT.CPP IS AUTOMATICALLY GENERATED FROM make_createagent.sh,
|
||||||
|
and recreates the files in /agent/ on a remote server.
|
||||||
|
|
||||||
|
DO NOT EDIT THIS FILE MANUALLY! Edit make_createagent.sh instead.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace dropshell {
|
namespace dropshell {
|
||||||
|
|
||||||
struct AgentFile {
|
struct AgentFile {
|
||||||
@ -94,4 +114,12 @@ find "$AGENT_SOURCE_FOLDER" -type f | while read -r file; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# close the namespace dropshell.
|
# close the namespace dropshell.
|
||||||
echo "}; return 0;} // namespace dropshell" >> "$SCRIPT_DIR/src/utils/createagent.cpp"
|
cat <<CPPEOF >> "$SCRIPT_DIR/src/utils/createagent.cpp"
|
||||||
|
}; // agent_files defined.
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
} // end of load_agent_file_contents function.
|
||||||
|
|
||||||
|
} // namespace dropshell
|
||||||
|
|
||||||
|
CPPEOF
|
||||||
|
@ -8,6 +8,17 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
CREATEAGENT.CPP IS AUTOMATICALLY GENERATED FROM make_createagent.sh,
|
||||||
|
and recreates the files in /agent/ on a remote server.
|
||||||
|
|
||||||
|
DO NOT EDIT THIS FILE MANUALLY! Edit make_createagent.sh instead.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace dropshell {
|
namespace dropshell {
|
||||||
|
|
||||||
struct AgentFile {
|
struct AgentFile {
|
||||||
@ -572,4 +583,10 @@ autorestore() {
|
|||||||
_autocommandparse restore "$BACKUP_TEMP_PATH" "$@"
|
_autocommandparse restore "$BACKUP_TEMP_PATH" "$@"
|
||||||
}
|
}
|
||||||
)AGENTFILE" },
|
)AGENTFILE" },
|
||||||
}; return 0;} // namespace dropshell
|
}; // agent_files defined.
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
} // end of load_agent_file_contents function.
|
||||||
|
|
||||||
|
} // namespace dropshell
|
||||||
|
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
#ifndef CREATEAGENT_HPP
|
#ifndef CREATEAGENT_HPP
|
||||||
#define CREATEAGENT_HPP
|
#define CREATEAGENT_HPP
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
CREATEAGENT.HPP IS AUTOMATICALLY GENERATED FROM make_createagent.sh,
|
||||||
|
and recreates the files in /agent/ on a remote server.
|
||||||
|
|
||||||
|
DO NOT EDIT THIS FILE MANUALLY! Edit make_createagent.sh instead.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace dropshell {
|
namespace dropshell {
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
version.hpp is automatically generated by the build system, from version.hpp.in.
|
||||||
|
|
||||||
|
DO NOT EDIT VERSION.HPP!
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace dropshell {
|
namespace dropshell {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user