diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-04-01 20:56:41 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-04-01 20:56:41 +0000 |
commit | f46b6f36ae2a46f92f69b096a58d6ff96726a9ed (patch) | |
tree | 370b1aa2e1f2f4b5c3dd8ee9a4749c9c6e79575f /src/libstrongswan/chunk.h | |
parent | 188bacbfe68aa6cbbaaa6cbd26b334f634f23871 (diff) | |
download | vyos-strongswan-f46b6f36ae2a46f92f69b096a58d6ff96726a9ed.tar.gz vyos-strongswan-f46b6f36ae2a46f92f69b096a58d6ff96726a9ed.zip |
- New upstream release to hopefully compile on sid.
Diffstat (limited to 'src/libstrongswan/chunk.h')
-rw-r--r-- | src/libstrongswan/chunk.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libstrongswan/chunk.h b/src/libstrongswan/chunk.h index 5eb8f8d8a..125b86b12 100644 --- a/src/libstrongswan/chunk.h +++ b/src/libstrongswan/chunk.h @@ -14,7 +14,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: chunk.h 4936 2009-03-12 18:07:32Z tobias $ + * $Id: chunk.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -92,11 +92,11 @@ bool chunk_write(chunk_t chunk, char *path, mode_t mask, bool force); /** * Convert a chunk of data to hex encoding. * - * The resulting string is '\0' terminated, but the chunk does not include - * the '\0'. If buf is supplied, it must hold at least (chunk.len * 2 + 1). + * The resulting string is '\\0' terminated, but the chunk does not include + * the '\\0'. If buf is supplied, it must hold at least (chunk.len * 2 + 1). * * @param chunk data to convert - * @param buff buffer to write to, NULL to malloc + * @param buf buffer to write to, NULL to malloc * @param uppercase TRUE to use uppercase letters * @return chunk of encoded data */ @@ -117,11 +117,11 @@ chunk_t chunk_from_hex(chunk_t hex, char *buf); /** * Convert a chunk of data to its base64 encoding. * - * The resulting string is '\0' terminated, but the chunk does not include - * the '\0'. If buf is supplied, it must hold at least (chunk.len * 4 / 3 + 1). + * The resulting string is '\\0' terminated, but the chunk does not include + * the '\\0'. If buf is supplied, it must hold at least (chunk.len * 4 / 3 + 1). * * @param chunk data to convert - * @param buff buffer to write to, NULL to malloc + * @param buf buffer to write to, NULL to malloc * @return chunk of encoded data */ chunk_t chunk_to_base64(chunk_t chunk, char *buf); @@ -249,4 +249,4 @@ u_int32_t chunk_hash_inc(chunk_t chunk, u_int32_t hash); int chunk_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* CHUNK_H_ @}*/ +#endif /** CHUNK_H_ @}*/ |