]> arthur.barton.de Git - netatalk.git/blob - etc/papd/lp.h
prototyping to allow the compiler to do some real argument checking
[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 "file.h"
6
7 void lp_person __P(( char * ));
8 int lp_pagecost __P(( void ));
9 void lp_host __P(( char * ));
10 void lp_job __P(( char * ));
11 int lp_rmjob __P(( int ));
12 int lp_queue __P(( struct papfile * ));
13
14 /* initialize printing interface */
15 int lp_init __P(( struct papfile *, struct sockaddr_at * ));
16 /* cancel current job */
17 int lp_cancel __P(( void ));
18 /* print current job */
19 int lp_print __P(( void ));
20 /* open a file for spooling */
21 int lp_open __P(( struct papfile *, struct sockaddr_at * ));
22 /* open a buffer to the current open file */
23 int lp_write __P(( char *, int ));
24 /* close current spooling file */
25 int lp_close __P(( void ));
26
27 #endif /* PAPD_LP_H */