diff options
| author | metalefty <meta@vmeta.jp> | 2016-10-20 15:52:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-20 15:52:25 +0900 |
| commit | 0c4c52878a414d7df9e509b9eabe422d29c6185a (patch) | |
| tree | 6d1c34a0f0b598b802af3fdcf31c40d0ad1b64c4 /sesman/auth.h | |
| parent | c9108242cd67159ac0196452e0206410b8a2c343 (diff) | |
| parent | 6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3 (diff) | |
| download | xrdp-proprietary-0c4c52878a414d7df9e509b9eabe422d29c6185a.tar.gz xrdp-proprietary-0c4c52878a414d7df9e509b9eabe422d29c6185a.zip | |
Merge pull request #444 from proski/trivial
Simple changes, mostly log messages and documentation
Diffstat (limited to 'sesman/auth.h')
| -rw-r--r-- | sesman/auth.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sesman/auth.h b/sesman/auth.h index e06b9eb3..68e677ef 100644 --- a/sesman/auth.h +++ b/sesman/auth.h @@ -32,11 +32,11 @@ * @brief Validates user's password * @param user user's login name * @param pass user's password - * @return 0 on success, 1 on failure + * @return non-zero handle on success, 0 on failure * */ long DEFAULT_CC -auth_userpass(char* user, char* pass, int *errorcode); +auth_userpass(const char *user, const char *pass, int *errorcode); /** * @@ -94,7 +94,7 @@ auth_set_env(long in_val); * */ int DEFAULT_CC -auth_check_pwd_chg(char* user); +auth_check_pwd_chg(const char *user); /** * @@ -104,6 +104,6 @@ auth_check_pwd_chg(char* user); * */ int DEFAULT_CC -auth_change_pwd(char* user, char* newpwd); +auth_change_pwd(const char *user, const char *newpwd); #endif |
