Go to the documentation of this file.00001
00010 #ifndef LOGIN_HH
00011 #define LOGIN_HH
00012
00013 namespace my_lib {
00014
00015 struct login_impl;
00016
00017 struct login_t {
00018 private:
00019 login_impl* implementation;
00020 public:
00021 login_t(const char* login, const char* passwd);
00022 const char* login();
00023 void chg_passwd(const char* passwd);
00024 static unsigned long long get_hash(const char* s);
00025 unsigned long long get_passwd_hash();
00026 };
00027 }
00028
00029 #endif LOGIN_HH