iconv.h (258230) | iconv.h (258398) |
---|---|
1/* $FreeBSD: stable/10/include/iconv.h 258230 2013-11-16 18:40:44Z gjb $ */ | 1/* $FreeBSD: stable/10/include/iconv.h 258398 2013-11-20 20:24:59Z peter $ */ |
2/* $NetBSD: iconv.h,v 1.6 2005/02/03 04:39:32 perry Exp $ */ 3 4/*- 5 * Copyright (c) 2003 Citrus Project, 6 * Copyright (c) 2009, 2010 Gabor Kovesdan <gabor@FreeBSD.org> 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 54 unchanged lines hidden (view full) --- 64void __iconv_free_list(char **, size_t); 65size_t __iconv(iconv_t, const char **, size_t *, char **, 66 size_t *, __uint32_t, size_t *); 67#define __ICONV_F_HIDE_INVALID 0x0001 68 69/* 70 * GNU interfaces for iconv 71 */ | 2/* $NetBSD: iconv.h,v 1.6 2005/02/03 04:39:32 perry Exp $ */ 3 4/*- 5 * Copyright (c) 2003 Citrus Project, 6 * Copyright (c) 2009, 2010 Gabor Kovesdan <gabor@FreeBSD.org> 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 54 unchanged lines hidden (view full) --- 64void __iconv_free_list(char **, size_t); 65size_t __iconv(iconv_t, const char **, size_t *, char **, 66 size_t *, __uint32_t, size_t *); 67#define __ICONV_F_HIDE_INVALID 0x0001 68 69/* 70 * GNU interfaces for iconv 71 */ |
72/* We have iconvctl() */ 73#define _ICONV_VERSION 0x0108 74extern int _iconv_version; 75 | |
76typedef struct { 77 void *spaceholder[64]; 78} iconv_allocation_t; 79 80int iconv_open_into(const char *, const char *, iconv_allocation_t *); | 72typedef struct { 73 void *spaceholder[64]; 74} iconv_allocation_t; 75 76int iconv_open_into(const char *, const char *, iconv_allocation_t *); |
81void iconv_set_relocation_prefix(const char *orig_prefix, 82 const char *curr_prefix); | 77void iconv_set_relocation_prefix(const char *, const char *); |
83 84/* 85 * iconvctl() request macros 86 */ 87#define ICONV_TRIVIALP 0 88#define ICONV_GET_TRANSLITERATE 1 89#define ICONV_SET_TRANSLITERATE 2 90#define ICONV_GET_DISCARD_ILSEQ 3 --- 46 unchanged lines hidden --- | 78 79/* 80 * iconvctl() request macros 81 */ 82#define ICONV_TRIVIALP 0 83#define ICONV_GET_TRANSLITERATE 1 84#define ICONV_SET_TRANSLITERATE 2 85#define ICONV_GET_DISCARD_ILSEQ 3 --- 46 unchanged lines hidden --- |