util_ebcdic.c revision 7184de27ec1d62a83c41cdeac0953ca9fd661e8c
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "ap_config.h"
#include "apr_strings.h"
#include "httpd.h"
#include "http_log.h"
#include "http_core.h"
#include "util_ebcdic.h"
/* we know core's module_index is 0 */
{
if (rv) {
"apr_xlate_open() failed");
return rv;
}
if (rv) {
"apr_xlate_open() failed");
return rv;
}
if (rv) {
"apr_MD5InitEBCDIC() failed");
return rv;
}
if (rv) {
"apr_base64init_ebcdic() failed");
return rv;
}
if (rv) {
"apr_SHA1InitEBCDIC() failed");
return rv;
}
return APR_SUCCESS;
}
{
buffer, &outbytes_left);
}
{
buffer, &outbytes_left);
}
int ap_rvputs_proto_in_ascii(request_rec *r, ...)
{
const char *s;
char *ascii_s;
apr_size_t written = 0;
while (1) {
if (s == NULL)
break;
return -1;
}
return written;
}
#endif /* APR_CHARSET_EBCDIC */