diff options
Diffstat (limited to 'Xprint/DiPrint.h')
-rw-r--r-- | Xprint/DiPrint.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Xprint/DiPrint.h b/Xprint/DiPrint.h index a4b969141..3830c20d2 100644 --- a/Xprint/DiPrint.h +++ b/Xprint/DiPrint.h @@ -30,6 +30,8 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from said copyright holders. */ +/* $XFree86: xc/programs/Xserver/Xprint/DiPrint.h,v 1.4 2001/01/17 22:36:28 dawes Exp $ */ + /* * The XpDiListEntry struct is the type of each element of the array * handed back to the extension code to handle a GetPrinterList request. @@ -38,6 +40,11 @@ copyright holders. * request will allow us to build it with the description in the locale of * the requesting client. */ +#ifndef _XpDiPrint_H_ +#define _XpDiPrint_H_ 1 + +#include "scrnintstr.h" + typedef struct _diListEntry { char *name; char *description; @@ -52,3 +59,17 @@ extern XpDiListEntry **XpDiGetPrinterList( char *name, int localeLen, char *locale); + +extern char * XpDiGetDriverName(int index, char *printerName); + +extern WindowPtr XpDiValidatePrinter(char *printerName, int printerNameLen); + +extern int XprintOptions(int argc, char **argv, int i); + +extern void PrinterInitOutput(ScreenInfo *pScreenInfo, int argc, char **argv); + +extern void _XpVoidNoop(void); + +extern Bool _XpBoolNoop(void); + +#endif /* _XpDiPrint_H_ */ |