]> arthur.barton.de Git - netatalk.git/blob - etc/papd/lp.h
Remove bdb env on exit
[netatalk.git] / etc / papd / lp.h
1 /*
2  * $Id: lp.h,v 1.6 2009-10-13 22:55:37 didg 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 ( char * );
13 int lp_pagecost ( void );
14 void lp_host ( char * );
15 void lp_job ( char * );
16 void lp_for ( char * );
17 void lp_origin ( int );
18 int lp_rmjob ( int );
19 int lp_queue ( struct papfile * );
20
21 /* cancel current job */
22 int lp_cancel ( void );
23 /* print current job */
24 int lp_print ( void );
25 /* open a file for spooling */
26 int lp_open ( struct papfile *, struct sockaddr_at * );
27 /* open a buffer to the current open file */
28 int lp_write ( struct papfile *,char *, size_t );
29 /* close current spooling file */
30 int lp_close ( void );
31
32 #endif /* PAPD_LP_H */