All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
17 #ifndef UTF8_H
18 #define UTF8_H
20 #include "apr.h"
21 #include "apr_lib.h"
22 #include "apr_errno.h"
24 /* If we ever support anything more exciting than char... this could move.
25  */
38  apr_size_t *inbytes,
39  apr_wchar_t *out,
40  apr_size_t *outwords);
52  apr_size_t *inwords,
53  char *out,
54  apr_size_t *outbytes);
56 #endif /* def UTF8_H */
size_t apr_size_t
Definition: apr.h:375
unsigned short apr_uint16_t
Definition: apr.h:331
APR Error Codes.
apr_status_t apr_conv_ucs2_to_utf8(const apr_wchar_t *in, apr_size_t *inwords, char *out, apr_size_t *outbytes)
APR Platform Definitions.
APR general purpose library routines.
apr_status_t apr_conv_utf8_to_ucs2(const char *in, apr_size_t *inbytes, apr_wchar_t *out, apr_size_t *outwords)
#define APR_DECLARE(x)
Definition: macros.h:6
int apr_status_t
Definition: apr_errno.h:44
apr_uint16_t apr_wchar_t
Definition: apr_arch_utf8.h:26