1*a824f5a1SJean-Baptiste Boric /*- 2*a824f5a1SJean-Baptiste Boric * Copyright (c) 2008 The NetBSD Foundation, Inc. 3*a824f5a1SJean-Baptiste Boric * All rights reserved. 4*a824f5a1SJean-Baptiste Boric * 5*a824f5a1SJean-Baptiste Boric * Redistribution and use in source and binary forms, with or without 6*a824f5a1SJean-Baptiste Boric * modification, are permitted provided that the following conditions 7*a824f5a1SJean-Baptiste Boric * are met: 8*a824f5a1SJean-Baptiste Boric * 1. Redistributions of source code must retain the above copyright 9*a824f5a1SJean-Baptiste Boric * notice, this list of conditions and the following disclaimer. 10*a824f5a1SJean-Baptiste Boric * 2. Redistributions in binary form must reproduce the above copyright 11*a824f5a1SJean-Baptiste Boric * notice, this list of conditions and the following disclaimer in the 12*a824f5a1SJean-Baptiste Boric * documentation and/or other materials provided with the distribution. 13*a824f5a1SJean-Baptiste Boric * 14*a824f5a1SJean-Baptiste Boric * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 15*a824f5a1SJean-Baptiste Boric * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 16*a824f5a1SJean-Baptiste Boric * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17*a824f5a1SJean-Baptiste Boric * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 18*a824f5a1SJean-Baptiste Boric * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19*a824f5a1SJean-Baptiste Boric * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20*a824f5a1SJean-Baptiste Boric * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21*a824f5a1SJean-Baptiste Boric * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22*a824f5a1SJean-Baptiste Boric * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23*a824f5a1SJean-Baptiste Boric * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24*a824f5a1SJean-Baptiste Boric * POSSIBILITY OF SUCH DAMAGE. 25*a824f5a1SJean-Baptiste Boric */ 26*a824f5a1SJean-Baptiste Boric 27*a824f5a1SJean-Baptiste Boric extern int quiet; 28*a824f5a1SJean-Baptiste Boric extern int verbose; 29*a824f5a1SJean-Baptiste Boric 30*a824f5a1SJean-Baptiste Boric void check(char **); 31*a824f5a1SJean-Baptiste Boric 32*a824f5a1SJean-Baptiste Boric void audit_pkgdb(int, char **); 33*a824f5a1SJean-Baptiste Boric void audit_pkg(int, char **); 34*a824f5a1SJean-Baptiste Boric void audit_batch(int, char **); 35*a824f5a1SJean-Baptiste Boric void audit_history(int, char **); 36*a824f5a1SJean-Baptiste Boric void check_pkg_vulnerabilities(int, char **); 37*a824f5a1SJean-Baptiste Boric void fetch_pkg_vulnerabilities(int, char **); 38*a824f5a1SJean-Baptiste Boric 39*a824f5a1SJean-Baptiste Boric void usage(void); 40