| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#if !defined( _LIBUNA_UTF32_STREAM_H ) |
| 23 |
#define _LIBUNA_UTF32_STREAM_H |
| 24 |
|
| 25 |
#include <common.h> |
| 26 |
#include <types.h> |
| 27 |
|
| 28 |
#include "libuna_extern.h" |
| 29 |
#include "libuna_libcerror.h" |
| 30 |
#include "libuna_types.h" |
| 31 |
|
| 32 |
#if defined( __cplusplus ) |
| 33 |
extern "C" { |
| 34 |
#endif |
| 35 |
|
| 36 |
LIBUNA_EXTERN \ |
| 37 |
int libuna_utf32_stream_copy_byte_order_mark( |
| 38 |
uint8_t *utf32_stream, |
| 39 |
size_t utf32_stream_size, |
| 40 |
size_t *utf32_stream_index, |
| 41 |
int byte_order, |
| 42 |
libcerror_error_t **error ); |
| 43 |
|
| 44 |
LIBUNA_EXTERN \ |
| 45 |
int libuna_utf32_stream_size_from_utf8( |
| 46 |
const libuna_utf8_character_t *utf8_string, |
| 47 |
size_t utf8_string_size, |
| 48 |
size_t *utf32_stream_size, |
| 49 |
libcerror_error_t **error ); |
| 50 |
|
| 51 |
LIBUNA_EXTERN \ |
| 52 |
int libuna_utf32_stream_copy_from_utf8( |
| 53 |
uint8_t *utf32_stream, |
| 54 |
size_t utf32_stream_size, |
| 55 |
int byte_order, |
| 56 |
const libuna_utf8_character_t *utf8_string, |
| 57 |
size_t utf8_string_size, |
| 58 |
libcerror_error_t **error ); |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
LIBUNA_EXTERN \ |
| 65 |
int libuna_utf32_stream_size_from_utf16( |
| 66 |
const libuna_utf16_character_t *utf16_string, |
| 67 |
size_t utf16_string_size, |
| 68 |
size_t *utf32_stream_size, |
| 69 |
libcerror_error_t **error ); |
| 70 |
|
| 71 |
LIBUNA_EXTERN \ |
| 72 |
int libuna_utf32_stream_copy_from_utf16( |
| 73 |
uint8_t *utf32_stream, |
| 74 |
size_t utf32_stream_size, |
| 75 |
int byte_order, |
| 76 |
const libuna_utf16_character_t *utf16_string, |
| 77 |
size_t utf16_string_size, |
| 78 |
libcerror_error_t **error ); |
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
LIBUNA_EXTERN \ |
| 85 |
int libuna_utf32_stream_size_from_utf32( |
| 86 |
const libuna_utf32_character_t *utf32_string, |
| 87 |
size_t utf32_string_size, |
| 88 |
size_t *utf32_stream_size, |
| 89 |
libcerror_error_t **error ); |
| 90 |
|
| 91 |
LIBUNA_EXTERN \ |
| 92 |
int libuna_utf32_stream_copy_from_utf32( |
| 93 |
uint8_t *utf32_stream, |
| 94 |
size_t utf32_stream_size, |
| 95 |
int byte_order, |
| 96 |
const libuna_utf32_character_t *utf32_string, |
| 97 |
size_t utf32_string_size, |
| 98 |
libcerror_error_t **error ); |
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
#if defined( __cplusplus ) |
| 105 |
} |
| 106 |
#endif |
| 107 |
|
| 108 |
#endif |
| 109 |
|