diff options
Diffstat (limited to 'lib/libldaputils/lmemory.c')
| -rw-r--r-- | lib/libldaputils/lmemory.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libldaputils/lmemory.c b/lib/libldaputils/lmemory.c index cc35db8..5b5d855 100644 --- a/lib/libldaputils/lmemory.c +++ b/lib/libldaputils/lmemory.c | |||
| @@ -63,6 +63,10 @@ | |||
| 63 | #endif | 63 | #endif |
| 64 | 64 | ||
| 65 | /// removes newlines and carriage returns | 65 | /// removes newlines and carriage returns |
| 66 | /// @param[in] str string to manipulate | ||
| 67 | /// | ||
| 68 | /// @return Returns a reference to the modified string if successful | ||
| 69 | /// @see ldaputils_initialize | ||
| 66 | char * ldaputils_chomp(char * str) | 70 | char * ldaputils_chomp(char * str) |
| 67 | { | 71 | { |
| 68 | char * idx; | 72 | char * idx; |
| @@ -122,6 +126,9 @@ int ldaputils_initialize(LDAPUtils ** ludp, const char * prog_name) | |||
| 122 | 126 | ||
| 123 | 127 | ||
| 124 | /// frees common config | 128 | /// frees common config |
| 129 | /// @param[in] lud reference to LDAP utilities struct | ||
| 130 | /// | ||
| 131 | /// @see ldaputils_initialize | ||
| 125 | void ldaputils_unbind(LDAPUtils * lud) | 132 | void ldaputils_unbind(LDAPUtils * lud) |
| 126 | { | 133 | { |
| 127 | if (!(lud)) | 134 | if (!(lud)) |
