lp.h (15031) | lp.h (15648) |
---|---|
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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * | 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * @(#)lp.h 8.1 (Berkeley) 6/6/93 | 33 * @(#)lp.h 8.2 (Berkeley) 4/28/95 |
34 */ 35 36 37/* 38 * Global definitions for the line printer system. 39 */ 40 41extern char *AF; /* accounting file */ --- 35 unchanged lines hidden (view full) --- 77 78extern char line[BUFSIZ]; 79extern char *bp; /* pointer into printcap buffer */ 80extern char *name; /* program name */ 81extern char *printer; /* printer name */ 82 /* host machine name */ 83extern char host[MAXHOSTNAMELEN]; 84extern char *from; /* client's machine name */ | 34 */ 35 36 37/* 38 * Global definitions for the line printer system. 39 */ 40 41extern char *AF; /* accounting file */ --- 35 unchanged lines hidden (view full) --- 77 78extern char line[BUFSIZ]; 79extern char *bp; /* pointer into printcap buffer */ 80extern char *name; /* program name */ 81extern char *printer; /* printer name */ 82 /* host machine name */ 83extern char host[MAXHOSTNAMELEN]; 84extern char *from; /* client's machine name */ |
85extern int sendtorem; /* are we sending to a remote? */ | 85extern int remote; /* true if sending files to a remote host */ |
86extern char *printcapdb[]; /* printcap database array */ 87/* 88 * Structure used for building a sorted list of control files. 89 */ 90struct queue { 91 time_t q_time; /* modification time */ 92 char q_name[MAXNAMLEN+1]; /* control file name */ 93}; --- 5 unchanged lines hidden (view full) --- 99 100void blankfill __P((int)); 101char *checkremote __P((void)); 102int chk __P((char *)); 103void displayq __P((int)); 104void dump __P((char *, char *, int)); 105void fatal __P((const char *, ...)); 106int getline __P((FILE *)); | 86extern char *printcapdb[]; /* printcap database array */ 87/* 88 * Structure used for building a sorted list of control files. 89 */ 90struct queue { 91 time_t q_time; /* modification time */ 92 char q_name[MAXNAMLEN+1]; /* control file name */ 93}; --- 5 unchanged lines hidden (view full) --- 99 100void blankfill __P((int)); 101char *checkremote __P((void)); 102int chk __P((char *)); 103void displayq __P((int)); 104void dump __P((char *, char *, int)); 105void fatal __P((const char *, ...)); 106int getline __P((FILE *)); |
107int getport __P((char *)); | 107int getport __P((char *, int)); |
108int getq __P((struct queue *(*[]))); 109void header __P((void)); 110void inform __P((char *)); 111int inlist __P((char *, char *)); 112int iscf __P((struct dirent *)); 113int isowner __P((char *, char *)); 114void ldump __P((char *, char *, int)); 115int lockchk __P((char *)); 116void prank __P((int)); 117void process __P((char *)); 118void rmjob __P((void)); 119void rmremote __P((void)); 120void show __P((char *, char *, int)); 121int startdaemon __P((char *)); 122void warn __P((void)); | 108int getq __P((struct queue *(*[]))); 109void header __P((void)); 110void inform __P((char *)); 111int inlist __P((char *, char *)); 112int iscf __P((struct dirent *)); 113int isowner __P((char *, char *)); 114void ldump __P((char *, char *, int)); 115int lockchk __P((char *)); 116void prank __P((int)); 117void process __P((char *)); 118void rmjob __P((void)); 119void rmremote __P((void)); 120void show __P((char *, char *, int)); 121int startdaemon __P((char *)); 122void warn __P((void)); |
123void delay __P((int)); |
|
123__END_DECLS | 124__END_DECLS |