summaryrefslogtreecommitdiff
path: root/client/Proxifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/Proxifier.h')
-rw-r--r--client/Proxifier.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/Proxifier.h b/client/Proxifier.h
index af27b80..3af8ffe 100644
--- a/client/Proxifier.h
+++ b/client/Proxifier.h
@@ -29,7 +29,6 @@ public:
* @return pointer to Proxifier singleton
*/
static Proxifier* GetInstance();
-
/**
* @brief Chack if the current config is valid
* @return true if the config is valid or false otherwise
@@ -41,6 +40,11 @@ public:
*/
bool IsOn(string& addr, short port);
/**
+ * @brief Get list of proxies that is being used by Proxifier right now
+ * @return list of active Proxy records
+ */
+ vector<Proxy> GetActiveProxies();
+ /**
* @brief turn proxy on, all traffic will go throught this proxy
* @param proxy Proxy class that represents particular proxy
* @return true on success or false otherwise