From 1d41574c6e8e7bbf3705645feb429df6281ccb83 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 12 Feb 2013 20:36:08 +0200 Subject: working on service support --- services/unix_exec_service/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'services/unix_exec_service/main.cpp') 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 aliases; -std::list cmds; +std::list 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); -- cgit v1.2.3