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 12void lp_person ( char * ); 13int lp_pagecost ( void ); 14void lp_host ( char * ); 15void lp_job ( char * ); 16void lp_for ( char * ); 17void lp_origin ( int ); 18int lp_rmjob ( int ); 19int lp_queue ( struct papfile * ); 20 21/* cancel current job */ 22int lp_cancel ( void ); 23/* print current job */ 24int lp_print ( void ); 25/* open a file for spooling */ 26int lp_open ( struct papfile *, struct sockaddr_at * ); 27/* open a buffer to the current open file */ 28int lp_write ( struct papfile *,char *, size_t ); 29/* close current spooling file */ 30int lp_close ( void ); 31 32#endif /* PAPD_LP_H */ 33