xref: /csrg-svn/usr.sbin/lpr/lpc/lpc.h (revision 34203)
122443Sdist /*
222443Sdist  * Copyright (c) 1983 Regents of the University of California.
3*34203Sbostic  * All rights reserved.
422443Sdist  *
5*34203Sbostic  * Redistribution and use in source and binary forms are permitted
6*34203Sbostic  * provided that this notice is preserved and that due credit is given
7*34203Sbostic  * to the University of California at Berkeley. The name of the University
8*34203Sbostic  * may not be used to endorse or promote products derived from this
9*34203Sbostic  * software without specific prior written permission. This software
10*34203Sbostic  * is provided ``as is'' without express or implied warranty.
11*34203Sbostic  *
12*34203Sbostic  *	@(#)lpc.h	5.2 (Berkeley) 05/05/88
1322443Sdist  */
1412381Sralph 
1512381Sralph /*
1612381Sralph  * Line printer control program.
1712381Sralph  */
1812381Sralph struct	cmd {
1912381Sralph 	char	*c_name;		/* command name */
2012381Sralph 	char	*c_help;		/* help message */
2112381Sralph 	int	(*c_handler)();		/* routine to do the work */
2212381Sralph 	int	c_priv;			/* privileged command */
2312381Sralph };
24