util_ebcdic.c revision b7a97b0024575459fe2534c51867411358834501
/* Copyright 2000-2004 The Apache Software Foundation
*
* Licensed 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"
{
char buf[80];
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 */