/usr/include/jconv.h is in libjconv-dev 2.8-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | /* $Id: jconv.h,v 1.3 2000/04/13 21:43:27 a Exp $ */
#ifndef JCONV_H
#define JCONV_H
#include <iconv.h>
#ifdef __cplusplus
extern "C" {
#endif
/************************************************************************/
void jconv_info_init (const char *conffile);
void jconv_info_maybe_init (void);
void jconv_info_set_locale (void);
const char *jconv_info_get_current_codeset (void);
const char *const *jconv_info_get_pref_codesets (int *num_codesets_r);
/************************************************************************/
int
jconv_alloc_apply_iconv (iconv_t cd,
const char *buffer,
size_t len,
char **buffer_r,
size_t *len_r,
size_t *error_pos_r);
int
jconv_alloc_conv (const char *src,
size_t src_len,
char **dest_r,
size_t *dest_len_r,
const char *const *src_codesets,
int num_src_codesets,
int *actual_codeset_r,
const char *dest_codeset);
int
jconv_alloc_conv_autodetect (const char *src,
size_t src_len,
char **dest_r,
size_t *dest_len_r,
const char *const *src_codesets,
int num_src_codesets,
int *actual_codeset_r,
const char *dest_codeset);
char *
jconv_strdup_conv_autodetect (const char *src,
const char *dest_codeset,
const char *src_codeset,
...);
char *
jconv_strdup_conv_fullauto (const char *src);
/************************************************************************/
char *
convert_kanji_auto (const char *src);
char *
convert_kanji (const char *src, const char *dest_codeset);
char *
convert_kanji_strict (const char *src,
const char *dest_codeset,
const char *src_codeset);
#ifdef __cplusplus
}
#endif
#endif /* JCONV_H */
|