summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-01-08 23:38:29 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-01-08 23:38:29 +0200
commit532bdbcd4a07501e8e67a04e2af3d47e88c3b404 (patch)
tree136b403d7e425ec8638d4e9e2240ec6c1961f679 /server
parent88a0c0ece59d9ab36a0402921699396dd9786337 (diff)
aommented out unused code
Diffstat (limited to 'server')
-rwxr-xr-xserver/server/headers.h6
-rwxr-xr-xserver/server/p_process.cpp5
-rwxr-xr-xserver/server/p_process.h4
-rwxr-xr-xserver/server/p_xml.cpp5
-rwxr-xr-xserver/server/p_xml.h2
5 files changed, 13 insertions, 9 deletions
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 <boost/date_time.hpp>
#include <boost/progress.hpp>
-#include <rapidxml.hpp>
-#include <rapidxml_print.hpp>
+//#include <rapidxml.hpp>
+//#include <rapidxml_print.hpp>
#include <openssl/md5.h>
-#include <Poco/Process.h>
+//#include <Poco/Process.h>
#include <curl/curl.h>
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<config::p_proxy_entry> *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<config::p_proxy_chain> *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<config::p_proxy_entry> *list, config *cfg, const char* path = NULL);
bool p_load_proxy_chains(std::list<config::p_proxy_chain> *list, config *cfg, const char *path = NULL);
bool p_save_proxy_list(std::list<config::p_proxy_entry> *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<config::p_proxy_chain> *list, config *cfg, const char *path = NULL);
+ * */
#endif \ No newline at end of file