skimprintcap.h revision 88004
188004Sgad/* 288004Sgad * ------+---------+---------+---------+---------+---------+---------+---------* 388004Sgad * Copyright (c) 2001 - Garance Alistair Drosehn <gad@FreeBSD.org>. 488004Sgad * All rights reserved. 588004Sgad * 688004Sgad * Redistribution and use in source and binary forms, with or without 788004Sgad * modification, are permitted provided that the following conditions 888004Sgad * are met: 988004Sgad * 1. Redistributions of source code must retain the above copyright 1088004Sgad * notice, this list of conditions and the following disclaimer. 1188004Sgad * 2. Redistributions in binary form must reproduce the above copyright 1288004Sgad * notice, this list of conditions and the following disclaimer in the 1388004Sgad * documentation and/or other materials provided with the distribution. 1488004Sgad * 1588004Sgad * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1688004Sgad * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1788004Sgad * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1888004Sgad * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1988004Sgad * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2088004Sgad * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2188004Sgad * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2288004Sgad * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2388004Sgad * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2488004Sgad * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2588004Sgad * SUCH DAMAGE. 2688004Sgad * 2788004Sgad * The views and conclusions contained in the software and documentation 2888004Sgad * are those of the authors and should not be interpreted as representing 2988004Sgad * official policies, either expressed or implied, of the FreeBSD Project. 3088004Sgad * 3188004Sgad * ------+---------+---------+---------+---------+---------+---------+---------* 3288004Sgad * $FreeBSD: head/usr.sbin/lpr/chkprintcap/skimprintcap.h 88004 2001-12-15 23:35:55Z gad $ 3388004Sgad * ------+---------+---------+---------+---------+---------+---------+---------* 3488004Sgad */ 3588004Sgad 3688004Sgadstruct skiminfo { 3788004Sgad int comments; 3888004Sgad int entries; 3988004Sgad int fatalerr; /* fatal error, msg already printed */ 4088004Sgad int lines; 4188004Sgad int warnings; 4288004Sgad}; 4388004Sgad 4488004Sgadstruct skiminfo *skim_printcap(const char *_pcap, int _verbosity); 45