]> arthur.barton.de Git - netatalk.git/blob - etc/papd/lp.h
7e990ee1cc0ee497cfb491561a051b2be7cab76f
[netatalk.git] / etc / papd / lp.h
1 #ifndef PAPD_LP_H
2 #define PAPD_LP_H 1
3
4 #include <sys/socket.h>
5 #include <sys/cdefs.h>
6 #include "file.h"
7
8 void lp_person __P(( char * ));
9 int lp_pagecost __P(( void ));
10 void lp_host __P(( char * ));
11 void lp_job __P(( char * ));
12 int lp_rmjob __P(( int ));
13 int lp_queue __P(( struct papfile * ));
14
15 /* initialize printing interface */
16 int lp_init __P(( struct papfile *, struct sockaddr_at * ));
17 /* cancel current job */
18 int lp_cancel __P(( void ));
19 /* print current job */
20 int lp_print __P(( void ));
21 /* open a file for spooling */
22 int lp_open __P(( struct papfile *, struct sockaddr_at * ));
23 /* open a buffer to the current open file */
24 int lp_write __P(( char *, int ));
25 /* close current spooling file */
26 int lp_close __P(( void ));
27
28 #endif /* PAPD_LP_H */