1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of
5 * the License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
15 * MA 02111-1307 USA
16 */
17/***************************************************************************
18 * LPRng - An Extended Print Spooler System
19 *
20 * Copyright 1988-2003, Patrick Powell, San Diego, CA
21 *     papowell@lprng.com
22 * See LICENSE for conditions of use.
23 * $Id: lpq.h,v 1.1.1.1 2008/10/15 03:28:27 james26_jang Exp $
24 ***************************************************************************/
25
26
27
28#ifndef _LPQ_H_
29#define _LPQ_H_ 1
30EXTERN int Auth;			/* Authentication */
31EXTERN int LP_mode;			/* LP mode */
32EXTERN int Longformat;      /* Long format */
33EXTERN int Rawformat;       /* Long format */
34EXTERN int Displayformat;   /* Display format */
35EXTERN int All_printers;    /* show all printers */
36EXTERN int Status_line_count; /* number of status lines */
37EXTERN int Clear_scr;       /* clear screen */
38EXTERN int Interval;        /* display interval */
39EXTERN int Show_all;        /* show all status */
40
41/* PROTOTYPES */
42int main(int argc, char *argv[], char *envp[]);
43void Show_status(char **argv);
44int Read_status_info( char *host, int sock,
45	int output, int timeout, int displayformat,
46	int status_line_count );
47void Term_clear();
48void Get_parms(int argc, char *argv[] );
49void usage(void);
50
51#endif
52