Main Page | Data Structures | File List | Globals

include/cap_proto.h

00001 /*
00002 ** ~ppr/src/include/cap_proto.h
00003 ** Copyright abandoned.
00004 ** Written by David Chappell.
00005 **
00006 ** Last revised 8 September 2000.
00007 */
00008 
00009 /*
00010 ** Function prototypes for the CAP libraries.
00011 */
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 /* I am not sure all the return types are correct. */
00018 int abInit(int debug_flag);
00019 int nbpInit(void);
00020 int PAPInit(void);
00021 int PAPOpen(int *cno, const char *lwname, int quantum, PAPStatusRec *status, OSErr *compstate);
00022 int PAPRead(int cno, char *buff, int *datasize, int *eof, OSErr *compstate);
00023 int PAPWrite(int cno, char *buff, int datasize, int eof, OSErr *compstate);
00024 int abSleep(int duration, int waitflag);
00025 int PAPClose(int cno);
00026 int SLInit(int *cno, char *printername, int quantum, PAPStatusRec *status);
00027 int GetNextJob(int srefnum, int *refnum, OSErr *compstate);
00028 int SLClose(int cno);
00029 int PAPShutdown(int cno);
00030 int PAPRemName(int cno, char *name);
00031 int PAPUnload(void);
00032 int PAPGetNetworkInfo(int cno, AddrBlock *addr);
00033 int PAPStatus(const char *address, PAPStatusRec *status, AddrBlock *addr);
00034 
00035 /* We can define this if abpap.h from CAP60 has already been included. */
00036 #ifdef NUMPAP
00037 PAPSOCKET *cnotopapskt(int cno);
00038 #endif
00039 
00040 #ifdef __cplusplus
00041 } ;
00042 #endif
00043 
00044 /* end of file */

Generated on Fri Feb 20 15:17:45 2004 for PPR Libraries by doxygen 1.3.5