]> arthur.barton.de Git - netatalk.git/blob - etc/papd/lp.h
CVS id tags, define fixes, code beautification
[netatalk.git] / etc / papd / lp.h
1 /*
2  * $Id: lp.h,v 1.3 2001-06-25 20:13:45 rufustfirefly Exp $
3  */
4
5 #ifndef PAPD_LP_H
6 #define PAPD_LP_H 1
7
8 #include <sys/socket.h>
9 #include <sys/cdefs.h>
10 #include "file.h"
11
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 int lp_rmjob __P(( int ));
17 int lp_queue __P(( struct papfile * ));
18
19 /* initialize printing interface */
20 int lp_init __P(( struct papfile *, struct sockaddr_at * ));
21 /* cancel current job */
22 int lp_cancel __P(( void ));
23 /* print current job */
24 int lp_print __P(( void ));
25 /* open a file for spooling */
26 int lp_open __P(( struct papfile *, struct sockaddr_at * ));
27 /* open a buffer to the current open file */
28 int lp_write __P(( char *, int ));
29 /* close current spooling file */
30 int lp_close __P(( void ));
31
32 #endif /* PAPD_LP_H */