summaryrefslogtreecommitdiff
path: root/services/unix_exec_service
diff options
context:
space:
mode:
Diffstat (limited to 'services/unix_exec_service')
-rw-r--r--services/unix_exec_service/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/unix_exec_service/main.cpp b/services/unix_exec_service/main.cpp
index ea7faef..ad7da1f 100644
--- a/services/unix_exec_service/main.cpp
+++ b/services/unix_exec_service/main.cpp
@@ -24,6 +24,8 @@
#include "api_service.h"
+using namespace service;
+
struct alias
{
std::string _alias, cmd;
@@ -34,7 +36,7 @@ struct alias
};
std::list<alias> aliases;
-std::list<command> cmds;
+std::list<service_info::command> cmds;
std::string extract_aliased_cmd(std::string cmd)
{
@@ -104,7 +106,7 @@ void load_cmds()
a.cmd = cmd;
aliases.push_back(a);
}
- command c;
+ service_info::command c;
c.command = cmd;
c.description = descr;
cmds.push_back(c);