From 58ff485edbe4bb93ebc922d14df24247846132b6 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 3 Dec 2007 09:42:38 +0000 Subject: added ssl tools --- doc/html/options_8h-source.html | 123 +++++++++++++++++++++------------------- 1 file changed, 65 insertions(+), 58 deletions(-) (limited to 'doc/html/options_8h-source.html') diff --git a/doc/html/options_8h-source.html b/doc/html/options_8h-source.html index d053366..5af88be 100644 --- a/doc/html/options_8h-source.html +++ b/doc/html/options_8h-source.html @@ -50,64 +50,71 @@ 00031 #ifndef _OPTIONS_H_ 00032 #define _OPTIONS_H_ 00033 -00034 #include "threadUtils.hpp" -00035 -00036 class Options -00037 { -00038 public: -00039 Options(); -00040 bool parse(int argc, char* argv[]); -00041 void printUsage(); -00042 void printOptions(); -00043 -00044 std::string getProgname(); -00045 Options& setProgname(std::string p); -00046 sender_id_t getSenderId(); -00047 Options& setSenderId(sender_id_t s); -00048 std::string getLocalAddr(); -00049 Options& setLocalAddr(std::string l); -00050 u_int16_t getLocalPort(); -00051 Options& setLocalPort(u_int16_t l); -00052 std::string getRemoteAddr(); -00053 Options& setRemoteAddr(std::string r); -00054 u_int16_t getRemotePort(); -00055 Options& setRemotePort(u_int16_t r); -00056 Options& setRemoteAddrPort(std::string addr, u_int16_t port); -00057 std::string getDevName(); -00058 Options& setDevName(std::string d); -00059 std::string getDevType(); -00060 Options& setDevType(std::string d); -00061 std::string getIfconfigParamLocal(); -00062 Options& setIfconfigParamLocal(std::string i); -00063 std::string getIfconfigParamRemoteNetmask(); -00064 Options& setIfconfigParamRemoteNetmask(std::string i); -00065 window_size_t getSeqWindowSize(); -00066 Options& setSeqWindowSize(window_size_t s); -00067 std::string getCypher(); -00068 Options& setCypher(std::string c); -00069 std::string getAuthAlgo(); -00070 Options& setAuthAlgo(std::string a); -00071 -00072 private: -00073 Mutex mutex; -00074 -00075 std::string progname_; -00076 sender_id_t sender_id_; -00077 std::string local_addr_; -00078 u_int16_t local_port_; -00079 std::string remote_addr_; -00080 u_int16_t remote_port_; -00081 std::string dev_name_; -00082 std::string dev_type_; -00083 std::string ifconfig_param_local_; -00084 std::string ifconfig_param_remote_netmask_; -00085 window_size_t seq_window_size_; -00086 std::string cypher_; -00087 std::string auth_algo_; -00088 }; -00089 -00090 #endif -
Generated on Sun Oct 7 23:43:49 2007 for anytun by  +00034 #include "datatypes.h" +00035 #include "threadUtils.hpp" +00036 +00037 class Options +00038 { +00039 public: +00040 Options(); +00041 bool parse(int argc, char* argv[]); +00042 void printUsage(); +00043 void printOptions(); +00044 +00045 std::string getProgname(); +00046 Options& setProgname(std::string p); +00047 sender_id_t getSenderId(); +00048 Options& setSenderId(sender_id_t s); +00049 std::string getLocalAddr(); +00050 Options& setLocalAddr(std::string l); +00051 std::string getLocalSyncAddr(); +00052 Options& setLocalSyncAddr(std::string l); +00053 u_int16_t getLocalPort(); +00054 Options& setLocalPort(u_int16_t l); +00055 std::string getRemoteAddr(); +00056 Options& setRemoteAddr(std::string r); +00057 u_int16_t getLocalSyncPort(); +00058 Options& setLocalSyncPort(u_int16_t l); +00059 u_int16_t getRemotePort(); +00060 Options& setRemotePort(u_int16_t r); +00061 Options& setRemoteAddrPort(std::string addr, u_int16_t port); +00062 std::string getDevName(); +00063 Options& setDevName(std::string d); +00064 std::string getDevType(); +00065 Options& setDevType(std::string d); +00066 std::string getIfconfigParamLocal(); +00067 Options& setIfconfigParamLocal(std::string i); +00068 std::string getIfconfigParamRemoteNetmask(); +00069 Options& setIfconfigParamRemoteNetmask(std::string i); +00070 window_size_t getSeqWindowSize(); +00071 Options& setSeqWindowSize(window_size_t s); +00072 std::string getCypher(); +00073 Options& setCypher(std::string c); +00074 std::string getAuthAlgo(); +00075 Options& setAuthAlgo(std::string a); +00076 +00077 private: +00078 Mutex mutex; +00079 +00080 std::string progname_; +00081 sender_id_t sender_id_; +00082 std::string local_addr_; +00083 std::string local_sync_addr_; +00084 u_int16_t local_port_; +00085 u_int16_t local_sync_port_; +00086 std::string remote_addr_; +00087 u_int16_t remote_port_; +00088 std::string dev_name_; +00089 std::string dev_type_; +00090 std::string ifconfig_param_local_; +00091 std::string ifconfig_param_remote_netmask_; +00092 window_size_t seq_window_size_; +00093 std::string cypher_; +00094 std::string auth_algo_; +00095 }; +00096 +00097 #endif +
Generated on Tue Nov 27 14:11:51 2007 for anytun by  doxygen 1.5.1
-- cgit v1.2.3