Apache2
Utilities for EBCDIC conversion
Collaboration diagram for Utilities for EBCDIC conversion:

Functions

apr_status_t ap_init_ebcdic (apr_pool_t *pool)
 
void ap_xlate_proto_to_ascii (char *buffer, apr_size_t len)
 
void ap_xlate_proto_from_ascii (char *buffer, apr_size_t len)
 
int ap_rvputs_proto_in_ascii (request_rec *r,...)
 

Detailed Description

Function Documentation

◆ ap_init_ebcdic()

apr_status_t ap_init_ebcdic ( apr_pool_t pool)

Setup all of the global translation handlers.

Parameters
poolThe pool to allocate out of.
Note
On non-EBCDIC system, this function does not exist. So, its use should be guarded by #if APR_CHARSET_EBCDIC.

◆ ap_rvputs_proto_in_ascii()

int ap_rvputs_proto_in_ascii ( request_rec r,
  ... 
)

Convert protocol data from the implementation character set to ASCII, then send it.

Parameters
rThe current request.
...The strings to write, followed by a NULL pointer.
Note
On non-EBCDIC system, this function is replaced by a call to ap_rvputs.

◆ ap_xlate_proto_from_ascii()

void ap_xlate_proto_from_ascii ( char *  buffer,
apr_size_t  len 
)

Convert protocol data to the implementation character set from ASCII.

Parameters
bufferBuffer to translate.
lenNumber of bytes to translate.
Note
On non-EBCDIC system, this function is replaced by an empty macro.

◆ ap_xlate_proto_to_ascii()

void ap_xlate_proto_to_ascii ( char *  buffer,
apr_size_t  len 
)

Convert protocol data from the implementation character set to ASCII.

Parameters
bufferBuffer to translate.
lenNumber of bytes to translate.
Note
On non-EBCDIC system, this function is replaced by an empty macro.