aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source/lp.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-05-05 22:40:51 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-05-05 22:40:51 +0000
commit5458e2f42165dc9479b4c810c40b6c1656702857 (patch)
treea2c9a4d920a98c3865b5da51ea401d02253ceae3 /usr.sbin/lpr/common_source/lp.h
parent7458568265c16988eabc831f8ecbd0018d4b6b1e (diff)
downloadsrc-5458e2f42165dc9479b4c810c40b6c1656702857.tar.gz
src-5458e2f42165dc9479b4c810c40b6c1656702857.zip
Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's really
surprising how many trivial errors there have been... :-) Some more cleanup is needed, but i'd like to separate the Lite2 changes from other work, that's why this goes into a different commit. People with serial printers should see whether i have broken the stty- style printcap options (i hope not). Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua>
Notes
Notes: svn path=/head/; revision=15648
Diffstat (limited to 'usr.sbin/lpr/common_source/lp.h')
-rw-r--r--usr.sbin/lpr/common_source/lp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/lpr/common_source/lp.h b/usr.sbin/lpr/common_source/lp.h
index 4e3827dc3889..b8f956f3bd04 100644
--- a/usr.sbin/lpr/common_source/lp.h
+++ b/usr.sbin/lpr/common_source/lp.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)lp.h 8.1 (Berkeley) 6/6/93
+ * @(#)lp.h 8.2 (Berkeley) 4/28/95
*/
@@ -82,7 +82,7 @@ extern char *printer; /* printer name */
/* host machine name */
extern char host[MAXHOSTNAMELEN];
extern char *from; /* client's machine name */
-extern int sendtorem; /* are we sending to a remote? */
+extern int remote; /* true if sending files to a remote host */
extern char *printcapdb[]; /* printcap database array */
/*
* Structure used for building a sorted list of control files.
@@ -104,7 +104,7 @@ void displayq __P((int));
void dump __P((char *, char *, int));
void fatal __P((const char *, ...));
int getline __P((FILE *));
-int getport __P((char *));
+int getport __P((char *, int));
int getq __P((struct queue *(*[])));
void header __P((void));
void inform __P((char *));
@@ -120,4 +120,5 @@ void rmremote __P((void));
void show __P((char *, char *, int));
int startdaemon __P((char *));
void warn __P((void));
+void delay __P((int));
__END_DECLS