]> arthur.barton.de Git - netatalk.git/blob - etc/papd/lp.h
- merge branch-netatalk-afp-3x-dev, HEAD was tagged before
[netatalk.git] / etc / papd / lp.h
1 /*
2  * $Id: lp.h,v 1.4 2005-04-28 20:49:49 bfernhomberg 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 void lp_for __P(( char * ));
17 void lp_origin __P(( int ));
18 int lp_rmjob __P(( int ));
19 int lp_queue __P(( struct papfile * ));
20
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 ));
33
34 #endif /* PAPD_LP_H */