]> git.stg.codes - stg.git/blobdiff - libs/srvconf/parsers/chg_admin.h
Public interfaces: part 1
[stg.git] / libs / srvconf / parsers / chg_admin.h
index 7041aa8ef60e34ebc9cb4350db3351ffd2f9915d..57ceef93ce46c44fa9cd3f8423c1540d89809020 100644 (file)
@@ -18,8 +18,7 @@
  *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
  */
 
-#ifndef __STG_STGLIBS_SRVCONF_PARSER_CHG_ADMIN_H__
-#define __STG_STGLIBS_SRVCONF_PARSER_CHG_ADMIN_H__
+#pragma once
 
 #include "base.h"
 
 
 #include <string>
 
-struct ADMIN_CONF_RES;
-
 namespace STG
 {
-namespace CHG_ADMIN
+
+struct AdminConfOpt;
+
+namespace ChgAdmin
 {
 
-std::string Serialize(const ADMIN_CONF_RES & conf, const std::string & encoding);
+std::string serialize(const AdminConfOpt& conf, const std::string& encoding);
 
-} // namespace CHG_ADMIN
+} // namespace ChgAdmin
 } // namespace STG
-
-#endif