@@ -38,13 +38,13 @@ extern "C" {
3838 */
3939
4040/* Simple BASE64 encode/decode functions.
41- *
41+ *
4242 * As we might encode binary strings, hence we require the length of
4343 * the incoming plain source. And return the length of what we decoded.
4444 *
4545 * The decoding function takes any non valid char (i.e. whitespace, \0
4646 * or anything non A-Z,0-9 etc) as terminal.
47- *
47+ *
4848 * The handling of terminating \0 characters differs from function to
4949 * function.
5050 *
@@ -56,7 +56,7 @@ extern "C" {
5656 * @param len the length of an unencoded string.
5757 * @return the length of the string after it is encoded, including the
5858 * trailing \0
59- */
59+ */
6060APR_DECLARE (int ) apr_base64_encode_len (int len ) __attribute__((pure ));
6161
6262/**
@@ -67,8 +67,8 @@ APR_DECLARE(int) apr_base64_encode_len(int len) __attribute__((pure));
6767 * @param plain_src The original string in plain text
6868 * @param len_plain_src The length of the plain text string
6969 * @return the length of the encoded string, including the trailing \0
70- */
71- APR_DECLARE (int ) apr_base64_encode (char * coded_dst , const char * plain_src ,
70+ */
71+ APR_DECLARE (int ) apr_base64_encode (char * coded_dst , const char * plain_src ,
7272 int len_plain_src )
7373 __attribute__((nonnull (1 ,2 )));
7474
@@ -81,7 +81,7 @@ APR_DECLARE(int) apr_base64_encode(char * coded_dst, const char *plain_src,
8181 * @param plain_src The original string in plain text
8282 * @param len_plain_src The length of the plain text string
8383 * @return the length of the encoded string, including the trailing \0
84- */
84+ */
8585APR_DECLARE (int ) apr_base64_encode_binary (char * coded_dst ,
8686 const unsigned char * plain_src ,
8787 int len_plain_src )
@@ -101,7 +101,7 @@ APR_DECLARE(char *) apr_pbase64_encode(apr_pool_t *p, const char *string)
101101 * string given the encoded string.
102102 * @param coded_src The encoded string
103103 * @return the maximum required buffer length for the plain text string
104- */
104+ */
105105APR_DECLARE (int ) apr_base64_decode_len (const char * coded_src )
106106 __attribute__((nonnull (1 ))) __attribute__((pure ));
107107
@@ -110,9 +110,9 @@ APR_DECLARE(int) apr_base64_decode_len(const char * coded_src)
110110 * converted to EBCDIC.
111111 * @param plain_dst The destination string for the plain text. A \0 is
112112 * appended.
113- * @param coded_src The encoded string
113+ * @param coded_src The encoded string
114114 * @return the length of the plain text string (excluding the trailing \0)
115- */
115+ */
116116APR_DECLARE (int ) apr_base64_decode (char * plain_dst , const char * coded_src )
117117 __attribute__((nonnull (1 ,2 )));
118118
@@ -122,10 +122,10 @@ APR_DECLARE(int) apr_base64_decode(char * plain_dst, const char *coded_src)
122122 * output to EBCDIC is left out.
123123 * @param plain_dst The destination string for the plain text. The string is
124124 * not \0-terminated.
125- * @param coded_src The encoded string
125+ * @param coded_src The encoded string
126126 * @return the length of the plain text string
127- */
128- APR_DECLARE (int ) apr_base64_decode_binary (unsigned char * plain_dst ,
127+ */
128+ APR_DECLARE (int ) apr_base64_decode_binary (unsigned char * plain_dst ,
129129 const char * coded_src )
130130 __attribute__((nonnull (1 ,2 )));
131131
0 commit comments