simple 'pool' alloc()ing glue to apr_base64.c */
| 2475 | /* simple 'pool' alloc()ing glue to apr_base64.c |
| 2476 | */ |
| 2477 | AP_DECLARE(char *) ap_pbase64decode(apr_pool_t *p, const char *bufcoded) |
| 2478 | { |
| 2479 | char *decoded; |
| 2480 | |
| 2481 | decoded = (char *) apr_palloc(p, apr_base64_decode_len(bufcoded)); |
| 2482 | apr_base64_decode(decoded, bufcoded); |
| 2483 | |
| 2484 | return decoded; |
| 2485 | } |
| 2486 | |
| 2487 | AP_DECLARE(char *) ap_pbase64encode(apr_pool_t *p, char *string) |
| 2488 | { |
no outgoing calls
no test coverage detected