From 532bdbcd4a07501e8e67a04e2af3d47e88c3b404 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 8 Jan 2012 23:38:29 +0200 Subject: aommented out unused code --- server/server/headers.h | 6 +++--- server/server/p_process.cpp | 5 +++-- server/server/p_process.h | 4 ++-- server/server/p_xml.cpp | 5 +++-- server/server/p_xml.h | 2 ++ 5 files changed, 13 insertions(+), 9 deletions(-) (limited to 'server') diff --git a/server/server/headers.h b/server/server/headers.h index 5f6a83e..cd77a0c 100755 --- a/server/server/headers.h +++ b/server/server/headers.h @@ -23,12 +23,12 @@ #include #include -#include -#include +//#include +//#include #include -#include +//#include #include diff --git a/server/server/p_process.cpp b/server/server/p_process.cpp index b3e7d53..1d50044 100755 --- a/server/server/p_process.cpp +++ b/server/server/p_process.cpp @@ -1,5 +1,5 @@ #include "headers.h" - +/* extern config *cfg; bool p_start(char *path) @@ -12,4 +12,5 @@ bool p_start(char *path) if(p->id() > 0) return true; return false; -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/server/server/p_process.h b/server/server/p_process.h index 46368bf..02fa070 100755 --- a/server/server/p_process.h +++ b/server/server/p_process.h @@ -1,6 +1,6 @@ #ifndef P_PROCESS_H #define P_PROCESS_H - +/* bool p_start(char *path = NULL); - +*/ #endif \ No newline at end of file diff --git a/server/server/p_xml.cpp b/server/server/p_xml.cpp index a42d145..3d41428 100755 --- a/server/server/p_xml.cpp +++ b/server/server/p_xml.cpp @@ -1,5 +1,5 @@ #include "headers.h" - +/* using namespace rapidxml; bool p_load_proxy_list(std::list *list, config *cfg, const char *path) @@ -241,4 +241,5 @@ bool p_sset_default_rule(config::p_proxy_entry *entry, config *cfg, const char * bool p_save_proxy_chains(std::list *list, config *cfg, const char *path) { -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/server/server/p_xml.h b/server/server/p_xml.h index 38f9793..58e34d4 100755 --- a/server/server/p_xml.h +++ b/server/server/p_xml.h @@ -1,10 +1,12 @@ #ifndef XML_H #define XML_H +/* bool p_load_proxy_list(std::list *list, config *cfg, const char* path = NULL); bool p_load_proxy_chains(std::list *list, config *cfg, const char *path = NULL); bool p_save_proxy_list(std::list *list, config *cfg, const char *path = NULL); bool p_sset_default_rule(config::p_proxy_entry *entry, config *cfg, const char *path = NULL); bool p_save_proxy_chains(std::list *list, config *cfg, const char *path = NULL); + * */ #endif \ No newline at end of file -- cgit v1.2.3