diff options
| author | David M. Syzdek <david@syzdek.net> | 2019-11-30 19:43:48 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2019-11-30 19:43:48 -0900 |
| commit | e050d256a853ecc9fa2b355c4c6438b45bffa15b (patch) | |
| tree | e41c8e7ddcebdb1ce9712c17ab0d5b89e42d8a8a /lib | |
| parent | ab1c7b6fb546384662e3a8708e45328b33459299 (diff) | |
| download | ldap-utils-e050d256a853ecc9fa2b355c4c6438b45bffa15b.tar.gz ldap-utils-e050d256a853ecc9fa2b355c4c6438b45bffa15b.tar.bz2 ldap-utils-e050d256a853ecc9fa2b355c4c6438b45bffa15b.tar.xz ldap-utils-e050d256a853ecc9fa2b355c4c6438b45bffa15b.zip | |
libldaputils: resolving doxygen warnigns in lpasswd.c
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libldaputils/lpasswd.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libldaputils/lpasswd.c b/lib/libldaputils/lpasswd.c index d88ccd4..dffe2dc 100644 --- a/lib/libldaputils/lpasswd.c +++ b/lib/libldaputils/lpasswd.c | |||
| @@ -74,6 +74,9 @@ | |||
| 74 | #endif | 74 | #endif |
| 75 | 75 | ||
| 76 | /// getpass() replacement -- SUSV 2 deprecated getpass() | 76 | /// getpass() replacement -- SUSV 2 deprecated getpass() |
| 77 | /// @param[in] prompt prompt to display to end user | ||
| 78 | /// | ||
| 79 | /// @return Returns string containing user entered password. | ||
| 77 | char * ldaputils_getpass(const char * prompt) | 80 | char * ldaputils_getpass(const char * prompt) |
| 78 | { | 81 | { |
| 79 | static char buff[512]; | 82 | static char buff[512]; |
| @@ -128,6 +131,9 @@ char * ldaputils_getpass(const char * prompt) | |||
| 128 | 131 | ||
| 129 | 132 | ||
| 130 | /// retrieves password | 133 | /// retrieves password |
| 134 | /// @param[in] lud reference to LDAP utilities struct | ||
| 135 | /// | ||
| 136 | /// @return Returns LDAP_SUCCESS on success or error code if fails | ||
| 131 | int ldaputils_pass(LDAPUtils * lud) | 137 | int ldaputils_pass(LDAPUtils * lud) |
| 132 | { | 138 | { |
| 133 | char * str; | 139 | char * str; |
| @@ -165,6 +171,12 @@ int ldaputils_pass(LDAPUtils * lud) | |||
| 165 | 171 | ||
| 166 | 172 | ||
| 167 | /// retrieves password from file | 173 | /// retrieves password from file |
| 174 | /// @param[in] lud reference to LDAP utilities struct | ||
| 175 | /// @param[in] file password file | ||
| 176 | /// @param[out] valp reference to pointer to store allocate memory | ||
| 177 | /// @param[out] lenp reference to pointer to store size of memory | ||
| 178 | /// | ||
| 179 | /// @return Returns LDAP_SUCCESS on success or 1 on error | ||
| 168 | int ldaputils_passfile(LDAPUtils * lud, const char * file, char ** valp, size_t * lenp) | 180 | int ldaputils_passfile(LDAPUtils * lud, const char * file, char ** valp, size_t * lenp) |
| 169 | { | 181 | { |
| 170 | int fd; | 182 | int fd; |
