1191783Srmacklem/* $FreeBSD$ */ 2191783Srmacklem/* $NetBSD: citrus_csmapper.h,v 1.3 2013/06/24 17:28:35 joerg Exp $ */ 3191783Srmacklem 4191783Srmacklem/*- 5191783Srmacklem * Copyright (c)2003 Citrus Project, 6191783Srmacklem * All rights reserved. 7191783Srmacklem * 8191783Srmacklem * Redistribution and use in source and binary forms, with or without 9191783Srmacklem * modification, are permitted provided that the following conditions 10191783Srmacklem * are met: 11191783Srmacklem * 1. Redistributions of source code must retain the above copyright 12191783Srmacklem * notice, this list of conditions and the following disclaimer. 13191783Srmacklem * 2. Redistributions in binary form must reproduce the above copyright 14191783Srmacklem * notice, this list of conditions and the following disclaimer in the 15191783Srmacklem * documentation and/or other materials provided with the distribution. 16191783Srmacklem * 17191783Srmacklem * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18191783Srmacklem * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19191783Srmacklem * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20191783Srmacklem * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21191783Srmacklem * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22191783Srmacklem * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23191783Srmacklem * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24191783Srmacklem * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25191783Srmacklem * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26191783Srmacklem * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27191783Srmacklem * SUCH DAMAGE. 28191783Srmacklem */ 29191783Srmacklem 30191783Srmacklem#ifndef _CITRUS_CSMAPPER_H_ 31191783Srmacklem#define _CITRUS_CSMAPPER_H_ 32191783Srmacklem 33191783Srmacklem#define _citrus_csmapper _citrus_mapper 34191783Srmacklem#define _citrus_csmapper_close _citrus_mapper_close 35191783Srmacklem#define _citrus_csmapper_convert _citrus_mapper_convert 36191783Srmacklem#define _citrus_csmapper_init_state _citrus_mapper_init_state 37191783Srmacklem#define _citrus_csmapper_get_state_size _citrus_mapper_get_state_size 38191783Srmacklem#define _citrus_csmapper_get_src_max _citrus_mapper_get_src_max 39191783Srmacklem#define _citrus_csmapper_get_dst_max _citrus_mapper_get_dst_max 40191783Srmacklem 41191783Srmacklem#define _CITRUS_CSMAPPER_F_PREVENT_PIVOT 0x00000001 42191783Srmacklem__BEGIN_DECLS 43191783Srmacklemint _citrus_csmapper_open(struct _citrus_csmapper *__restrict *__restrict, 44191783Srmacklem const char *__restrict, const char *__restrict, uint32_t, 45191783Srmacklem unsigned long *); 46191783Srmacklem__END_DECLS 47191783Srmacklem 48191783Srmacklem#endif 49191783Srmacklem