Deleted Added
full compact
lp.h (78300) lp.h (79739)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * From: @(#)lp.h 8.2 (Berkeley) 4/28/95
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * From: @(#)lp.h 8.2 (Berkeley) 4/28/95
34 * $FreeBSD: head/usr.sbin/lpr/common_source/lp.h 78300 2001-06-15 22:03:07Z gad $
34 * $FreeBSD: head/usr.sbin/lpr/common_source/lp.h 79739 2001-07-15 00:09:46Z gad $
35 */
36
37#include <sys/queue.h>
38#include <time.h>
39#include <netdb.h>
40
41/*
42 * All this information used to be in global static variables shared

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

237
238void blankfill(int _tocol);
239char *checkremote(struct printer *_pp);
240int chk(char *_file);
241void closeallfds(int _start);
242void delay(int _millisec);
243void displayq(struct printer *_pp, int _format);
244void dump(const char *_nfile, const char *_datafile, int _copies);
35 */
36
37#include <sys/queue.h>
38#include <time.h>
39#include <netdb.h>
40
41/*
42 * All this information used to be in global static variables shared

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

237
238void blankfill(int _tocol);
239char *checkremote(struct printer *_pp);
240int chk(char *_file);
241void closeallfds(int _start);
242void delay(int _millisec);
243void displayq(struct printer *_pp, int _format);
244void dump(const char *_nfile, const char *_datafile, int _copies);
245void fatal(const struct printer *_pp, const char *_msg, ...);
245void fatal(const struct printer *_pp, const char *_msg, ...)
246 __printflike(2, 3);
246int firstprinter(struct printer *_pp, int *_error);
247void free_printer(struct printer *_pp);
248void free_request(struct request *_rp);
249int getline(FILE *_cfp);
250int getport(const struct printer *_pp, const char *_rhost, int _rport);
251int getprintcap(const char *_printer, struct printer *_pp);
252int getq(const struct printer *_pp, struct jobqueue *(*_namelist[]));
253void header(void);

--- 29 unchanged lines hidden ---
247int firstprinter(struct printer *_pp, int *_error);
248void free_printer(struct printer *_pp);
249void free_request(struct request *_rp);
250int getline(FILE *_cfp);
251int getport(const struct printer *_pp, const char *_rhost, int _rport);
252int getprintcap(const char *_printer, struct printer *_pp);
253int getq(const struct printer *_pp, struct jobqueue *(*_namelist[]));
254void header(void);

--- 29 unchanged lines hidden ---