]> git.stg.codes - stg.git/blobdiff - libs/srvconf/parsers/chg_service.h
Public interfaces: part 1
[stg.git] / libs / srvconf / parsers / chg_service.h
index 09464a6e373b58f132cdaac46dbe5f2af498711c..a71dc6d009a7b9ae57b009ba41fc58acebf32ac0 100644 (file)
@@ -18,8 +18,7 @@
  *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
  */
 
-#ifndef __STG_STGLIBS_SRVCONF_PARSER_CHG_SERVICE_H__
-#define __STG_STGLIBS_SRVCONF_PARSER_CHG_SERVICE_H__
+#pragma once
 
 #include "base.h"
 
 
 #include <string>
 
-struct SERVICE_CONF_RES;
-
 namespace STG
 {
-namespace CHG_SERVICE
+
+struct ServiceConfOpt;
+
+namespace ChgService
 {
 
-std::string Serialize(const SERVICE_CONF_RES & conf, const std::string & encoding);
+std::string serialize(const ServiceConfOpt& conf, const std::string& encoding);
 
-} // namespace CHG_SERVICE
+} // namespace ChgService
 } // namespace STG
-
-#endif