2 * $Id: lp.h,v 1.4 2005-04-28 20:49:49 bfernhomberg Exp $
8 #include <sys/socket.h>
12 void lp_person __P(( char * ));
13 int lp_pagecost __P(( void ));
14 void lp_host __P(( char * ));
15 void lp_job __P(( char * ));
16 void lp_for __P(( char * ));
17 void lp_origin __P(( int ));
18 int lp_rmjob __P(( int ));
19 int lp_queue __P(( struct papfile * ));
21 /* initialize printing interface */
22 int lp_init __P(( struct papfile *, struct sockaddr_at * ));
23 /* cancel current job */
24 int lp_cancel __P(( void ));
25 /* print current job */
26 int lp_print __P(( void ));
27 /* open a file for spooling */
28 int lp_open __P(( struct papfile *, struct sockaddr_at * ));
29 /* open a buffer to the current open file */
30 int lp_write __P(( struct papfile *,char *, size_t ));
31 /* close current spooling file */
32 int lp_close __P(( void ));
34 #endif /* PAPD_LP_H */