185632Sschweikh/* 285632Sschweikh * Copyright (c) 2001 Jens Schweikhardt 385632Sschweikh * All rights reserved. 485632Sschweikh * 585632Sschweikh * Redistribution and use in source and binary forms, with or without 685632Sschweikh * modification, are permitted provided that the following conditions 785632Sschweikh * are met: 885632Sschweikh * 1. Redistributions of source code must retain the above copyright 985632Sschweikh * notice, this list of conditions and the following disclaimer. 1085632Sschweikh * 2. Redistributions in binary form must reproduce the above copyright 1185632Sschweikh * notice, this list of conditions and the following disclaimer in the 1285632Sschweikh * documentation and/or other materials provided with the distribution. 1385632Sschweikh * 1485632Sschweikh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 1585632Sschweikh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1685632Sschweikh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1785632Sschweikh * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 1885632Sschweikh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1985632Sschweikh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2085632Sschweikh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2185632Sschweikh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2285632Sschweikh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2385632Sschweikh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2485632Sschweikh * SUCH DAMAGE. 2585632Sschweikh */ 2685632Sschweikh 2785632Sschweikh#if 0 2885632Sschweikh__FBSDID("$FreeBSD: releng/10.2/usr.bin/indent/indent.h 93440 2002-03-30 17:10:20Z dwmalone $"); 2985632Sschweikh#endif 3085632Sschweikh 3185632Sschweikhvoid addkey(char *, int); 3285632Sschweikhint compute_code_target(void); 3385632Sschweikhint compute_label_target(void); 3485632Sschweikhint count_spaces(int, char *); 3585632Sschweikhint lexi(void); 3693440Sdwmalonevoid diag2(int, const char *); 3793440Sdwmalonevoid diag3(int, const char *, int); 3893440Sdwmalonevoid diag4(int, const char *, int, int); 3985632Sschweikhvoid dump_line(void); 4085632Sschweikhvoid fill_buffer(void); 4185632Sschweikhvoid parse(int); 4293440Sdwmalonevoid parsefont(struct fstate *, const char *); 4385632Sschweikhvoid pr_comment(void); 4485632Sschweikhvoid set_defaults(void); 4585632Sschweikhvoid set_option(char *); 4685632Sschweikhvoid set_profile(void); 4785632Sschweikhvoid writefdef(struct fstate *f, int); 48