From e191eab68d905bfe14e3590a92fa653f0ae2ebce Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Thu, 18 Feb 2010 09:15:27 +0000 Subject: non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility) --- src/options.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/options.h') diff --git a/src/options.h b/src/options.h index 02b0c1b..70458d5 100644 --- a/src/options.h +++ b/src/options.h @@ -66,12 +66,12 @@ class OptionNetwork public: OptionNetwork() : net_addr(""), prefix_length(0) {}; OptionNetwork(std::string network) { init(network); }; - OptionNetwork(std::string n, u_int16_t p) : net_addr(n), prefix_length(p) {}; + OptionNetwork(std::string n, uint16_t p) : net_addr(n), prefix_length(p) {}; void init(std::string network); std::string net_addr; - u_int16_t prefix_length; + uint16_t prefix_length; }; typedef std::list NetworkList; std::istream& operator>>(std::istream& stream, OptionNetwork& network); @@ -154,8 +154,8 @@ public: Options& setCipher(std::string c); std::string getAuthAlgo(); Options& setAuthAlgo(std::string a); - u_int32_t getAuthTagLength(); - Options& setAuthTagLength(u_int32_t a); + uint32_t getAuthTagLength(); + Options& setAuthTagLength(uint32_t a); std::string getKdPrf(); Options& setKdPrf(std::string k); role_t getRole(); @@ -225,7 +225,7 @@ private: std::string cipher_; std::string auth_algo_; - u_int32_t auth_tag_length_; + uint32_t auth_tag_length_; std::string kd_prf_; role_t role_; std::string passphrase_; -- cgit v1.2.3