Deleted Added
full compact
extern.h (98278) extern.h (98279)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)extern.h 8.1 (Berkeley) 6/6/93
35 *
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)extern.h 8.1 (Berkeley) 6/6/93
35 *
36 * $FreeBSD: head/usr.sbin/lpr/lpc/extern.h 98278 2002-06-16 01:43:29Z gad $
36 * $FreeBSD: head/usr.sbin/lpr/lpc/extern.h 98279 2002-06-16 01:51:37Z gad $
37 */
38
39
40#include <sys/types.h>
41#include <sys/cdefs.h>
42
43
44__BEGIN_DECLS
45void abort_q(struct printer *_pp);
37 */
38
39
40#include <sys/types.h>
41#include <sys/cdefs.h>
42
43
44__BEGIN_DECLS
45void abort_q(struct printer *_pp);
46void clean_gi(int _argc, char *_argv[]);
46void clean_q(struct printer *_pp);
47void disable_q(struct printer *_pp);
48void down_gi(int _argc, char *_argv[]);
49void down_q(struct printer *_pp);
50void enable_q(struct printer *_pp);
51void generic(void (*_specificrtn)(struct printer *_pp), int _cmdopts,
52 void (*_initcmd)(int _argc, char *_argv[]),
53 int _argc, char *_argv[]);
54void help(int _argc, char *_argv[]);
47void clean_q(struct printer *_pp);
48void disable_q(struct printer *_pp);
49void down_gi(int _argc, char *_argv[]);
50void down_q(struct printer *_pp);
51void enable_q(struct printer *_pp);
52void generic(void (*_specificrtn)(struct printer *_pp), int _cmdopts,
53 void (*_initcmd)(int _argc, char *_argv[]),
54 int _argc, char *_argv[]);
55void help(int _argc, char *_argv[]);
55void init_clean(int _argc, char *_argv[]);
56void init_tclean(int _argc, char *_argv[]);
57void quit(int _argc, char *_argv[]);
58void restart_q(struct printer *_pp);
59void setstatus_gi(int _argc, char *_argv[]);
60void setstatus_q(struct printer *_pp);
61void start_q(struct printer *_pp);
62void status(struct printer *_pp);
63void stop_q(struct printer *_pp);
56void quit(int _argc, char *_argv[]);
57void restart_q(struct printer *_pp);
58void setstatus_gi(int _argc, char *_argv[]);
59void setstatus_q(struct printer *_pp);
60void start_q(struct printer *_pp);
61void status(struct printer *_pp);
62void stop_q(struct printer *_pp);
63void tclean_gi(int _argc, char *_argv[]);
64void topq(int _argc, char *_argv[]);
65void up_q(struct printer *_pp);
66void disable(struct printer *_pp); /* X-version */
67void doabort(struct printer *_pp); /* X-version */
68void down(int _argc, char *_argv[]); /* X-version */
69void enable(struct printer *_pp); /* X-version */
70void restart(struct printer *_pp); /* X-version */
71void startcmd(struct printer *_pp); /* X-version */
72void stop(struct printer *_pp); /* X-version */
73void up(struct printer *_pp); /* X-version */
74__END_DECLS
75
76extern int NCMDS;
77extern struct cmd cmdtab[];
78extern uid_t uid, euid;
64void topq(int _argc, char *_argv[]);
65void up_q(struct printer *_pp);
66void disable(struct printer *_pp); /* X-version */
67void doabort(struct printer *_pp); /* X-version */
68void down(int _argc, char *_argv[]); /* X-version */
69void enable(struct printer *_pp); /* X-version */
70void restart(struct printer *_pp); /* X-version */
71void startcmd(struct printer *_pp); /* X-version */
72void stop(struct printer *_pp); /* X-version */
73void up(struct printer *_pp); /* X-version */
74__END_DECLS
75
76extern int NCMDS;
77extern struct cmd cmdtab[];
78extern uid_t uid, euid;