Deleted Added
full compact
extern.h (39084) extern.h (78146)
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:

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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
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:

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 78146 2001-06-12 16:38:20Z gad $
35 */
36
37
38#include <sys/types.h>
39#include <sys/cdefs.h>
40
41
42__BEGIN_DECLS
37 */
38
39
40#include <sys/types.h>
41#include <sys/cdefs.h>
42
43
44__BEGIN_DECLS
43void clean __P((struct printer *));
44void disable __P((struct printer *));
45void doabort __P((struct printer *));
46void down __P((int, char **));
47void enable __P((struct printer *));
48void generic __P((void (*) __P((struct printer *)), int, char **));
49void help __P((int, char **));
50void quit __P((int, char **));
51void restart __P((struct printer *));
52void startcmd __P((struct printer *));
53void status __P((struct printer *));
54void stop __P((struct printer *));
55void topq __P((int, char **));
56void up __P((struct printer *));
45void clean(struct printer *_pp);
46void disable(struct printer *_pp);
47void doabort(struct printer *_pp);
48void down(int _argc, char *_argv[]);
49void enable(struct printer *_pp);
50void generic(void (*_specificrtn)(struct printer *_pp), int _argc,
51 char *_argv[]);
52void help(int _argc, char *_argv[]);
53void quit(int _argc, char *_argv[]);
54void restart(struct printer *_pp);
55void startcmd(struct printer *_pp);
56void status(struct printer *_pp);
57void stop(struct printer *_pp);
58void topq(int _argc, char *_argv[]);
59void up(struct printer *_pp);
57__END_DECLS
58
59extern int NCMDS;
60extern struct cmd cmdtab[];
61extern uid_t uid, euid;
60__END_DECLS
61
62extern int NCMDS;
63extern struct cmd cmdtab[];
64extern uid_t uid, euid;