xref: /netbsd-src/usr.sbin/lpr/lpc/extern.h (revision 257a846ab490a529012453f79230bc6acc1130fb)
1*257a846aSjoerg /*	$NetBSD: extern.h,v 1.6 2011/08/30 19:27:37 joerg Exp $	*/
2fe7ed7ceSmrg 
364c78025Scgd /*
464c78025Scgd  * Copyright (c) 1989, 1993
564c78025Scgd  *	The Regents of the University of California.  All rights reserved.
664c78025Scgd  *
764c78025Scgd  *
864c78025Scgd  * Redistribution and use in source and binary forms, with or without
964c78025Scgd  * modification, are permitted provided that the following conditions
1064c78025Scgd  * are met:
1164c78025Scgd  * 1. Redistributions of source code must retain the above copyright
1264c78025Scgd  *    notice, this list of conditions and the following disclaimer.
1364c78025Scgd  * 2. Redistributions in binary form must reproduce the above copyright
1464c78025Scgd  *    notice, this list of conditions and the following disclaimer in the
1564c78025Scgd  *    documentation and/or other materials provided with the distribution.
16326b2259Sagc  * 3. Neither the name of the University nor the names of its contributors
1764c78025Scgd  *    may be used to endorse or promote products derived from this software
1864c78025Scgd  *    without specific prior written permission.
1964c78025Scgd  *
2064c78025Scgd  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2164c78025Scgd  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2264c78025Scgd  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2364c78025Scgd  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2464c78025Scgd  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2564c78025Scgd  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2664c78025Scgd  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2764c78025Scgd  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2864c78025Scgd  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2964c78025Scgd  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3064c78025Scgd  * SUCH DAMAGE.
3164c78025Scgd  *
3264c78025Scgd  *      @(#)extern.h	8.1 (Berkeley) 6/6/93
3364c78025Scgd  */
3464c78025Scgd 
3564c78025Scgd 
3664c78025Scgd #include <sys/cdefs.h>
3764c78025Scgd 
3864c78025Scgd 
3964c78025Scgd __BEGIN_DECLS
40895dc72aSwiz void	clean(int, char **);
41895dc72aSwiz void	disable(int, char **);
42895dc72aSwiz void	doabort(int, char **);
43895dc72aSwiz void	down(int, char **);
44895dc72aSwiz void	enable(int, char **);
45895dc72aSwiz void	help(int, char **);
46*257a846aSjoerg void	quit(int, char **) __dead;
47895dc72aSwiz void	restart(int, char **);
48895dc72aSwiz void	startcmd(int, char **);
49895dc72aSwiz void	status(int, char **);
50895dc72aSwiz void	stop(int, char **);
51895dc72aSwiz void	topq(int, char **);
52895dc72aSwiz void	up(int, char **);
5364c78025Scgd __END_DECLS
5464c78025Scgd 
5564c78025Scgd extern int NCMDS;
5664c78025Scgd extern struct cmd cmdtab[];
57