1 /* @(#)map.h	1.4 03/10/23 Copyright 1986-2003 J. Schilling */
2 /*
3  *	Copyright (c) 1986-2003 J. Schilling
4  */
5 /*
6  * The contents of this file are subject to the terms of the
7  * Common Development and Distribution License, Version 1.0 only
8  * (the "License").  You may not use this file except in compliance
9  * with the License.
10  *
11  * See the file CDDL.Schily.txt in this distribution for details.
12  * A copy of the CDDL is also available via the Internet at
13  * http://www.opensource.org/licenses/cddl1.txt
14  *
15  * When distributing Covered Code, include this CDDL HEADER in each
16  * file and include the License file CDDL.Schily.txt from this distribution.
17  */
18 
19 #define	rmap(c)		(maptab[c] && rxmap(c))
20 
21 extern	unsigned char	maptab[];
22 
23 extern	int	mapgetc		__PR((void));
24 extern	void	map_init	__PR((void));
25 extern	int	rxmap		__PR((int c));
26 extern	int	gmap		__PR((void));
27 extern	void	remap		__PR((void));
28 extern	BOOL	add_map		__PR((char *from, char *to, char *comment));
29 extern	BOOL	del_map		__PR((char *from));
30 extern	void	list_map	__PR((FILE *f));
31