xref: /openbsd-src/usr.sbin/crunchgen/mangle.h (revision 516251d44d1dd8788918ba6b539f3a19adb886ef)
1*516251d4Sdrahn /* $OpenBSD: mangle.h,v 1.1 2009/12/04 04:59:48 drahn Exp $ */
2*516251d4Sdrahn /*
3*516251d4Sdrahn  * Copyright (c) 2009 Dale Rahn.
4*516251d4Sdrahn  * All rights reserved.
5*516251d4Sdrahn  *
6*516251d4Sdrahn  *
7*516251d4Sdrahn  * Redistribution and use in source and binary forms, with or without
8*516251d4Sdrahn  * modification, are permitted provided that the following conditions
9*516251d4Sdrahn  * are met:
10*516251d4Sdrahn  * 1. Redistributions of source code must retain the above copyright
11*516251d4Sdrahn  *    notice, this list of conditions and the following disclaimer.
12*516251d4Sdrahn  * 2. Redistributions in binary form must reproduce the above copyright
13*516251d4Sdrahn  *    notice, this list of conditions and the following disclaimer in the
14*516251d4Sdrahn  *    documentation and/or other materials provided with the distribution.
15*516251d4Sdrahn  *
16*516251d4Sdrahn  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17*516251d4Sdrahn  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18*516251d4Sdrahn  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19*516251d4Sdrahn  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20*516251d4Sdrahn  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21*516251d4Sdrahn  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22*516251d4Sdrahn  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23*516251d4Sdrahn  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24*516251d4Sdrahn  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25*516251d4Sdrahn  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26*516251d4Sdrahn  */
27*516251d4Sdrahn void init_mangle_state(void);
28*516251d4Sdrahn void fini_mangle_state(void);
29*516251d4Sdrahn void dump_mangle_state(void);
30*516251d4Sdrahn void mangle_str(char *str);
31*516251d4Sdrahn 
32