summaryrefslogtreecommitdiff
path: root/Print.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:42 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:42 +0000
commit2e88b0d462b9dc068096c6be7f0ba49e21f7e1c7 (patch)
tree593e0ce8381a7c061a5ea8f3f55d7814a34f58e2 /Print.h
parent4382611f85dc0dcbfc7cca9a4ba175b3bc83da14 (diff)
XFree86 4.3.0.1
Diffstat (limited to 'Print.h')
-rw-r--r--Print.h58
1 files changed, 7 insertions, 51 deletions
diff --git a/Print.h b/Print.h
index 3a8e4f2..dc9c66d 100644
--- a/Print.h
+++ b/Print.h
@@ -57,6 +57,7 @@
**
******************************************************************************
*****************************************************************************/
+/* $XFree86: xc/include/extensions/Print.h,v 1.5 2001/01/17 17:53:15 dawes Exp $ */
#ifndef _XpPrint_H_
#define _XpPrint_H_
@@ -261,18 +262,22 @@ typedef void (*XPFinishProc)( Display *display,
/*
* Typedefs for XpSetLocaleHinter and XpGetLocaleHinter
*/
-typedef char * (*XPHinterProc)();
+typedef char * (*XPHinterProc)(void);
+#if 0
/*******************************************************************
*
* Extension version structures.
*
+ **** this structure is now defined localy in the one file that uses it
+ **** in order to avoid clashes with its definition in XI.h
*/
typedef struct {
int present;
short major_version;
short minor_version;
} XExtensionVersion;
+#endif
/********************************************************************
*
@@ -319,8 +324,6 @@ typedef struct {
* Function prototypes for library side.
*/
-#if NeedFunctionPrototypes
-
extern XPContext XpCreateContext (
Display *display,
char *printer_name
@@ -531,10 +534,7 @@ extern char *XpGetLocaleHinter (
XPHinterProc *hinter_proc
);
-
-
-
-extern char *XpGetLocaleNetString();
+extern char *XpGetLocaleNetString(void);
extern char *XpNotifyPdm (
Display *print_display,
@@ -545,50 +545,6 @@ extern char *XpNotifyPdm (
Bool auth_flag
);
-#else
-
-extern XPContext XpCreateContext ();
-extern void XpSetContext ();
-extern XPContext XpGetContext ();
-extern void XpDestroyContext ();
-extern Screen *XpGetScreenOfContext ();
-extern Status XpGetPageDimensions ();
-extern void XpStartJob ();
-extern void XpEndJob ();
-extern void XpCancelJob ();
-extern void XpStartDoc ();
-extern void XpEndDoc ();
-extern void XpCancelDoc ();
-extern void XpPutDocumentData ();
-extern Status XpGetDocumentData ();
-extern void XpStartPage ();
-extern void XpEndPage ();
-extern void XpCancelPage ();
-extern void XpSelectInput ();
-extern unsigned long XpInputSelected ();
-extern Bool XpSetImageResolution ();
-extern int XpGetImageResolution ();
-extern char *XpGetAttributes ();
-extern void XpSetAttributes ();
-extern char *XpGetOneAttribute ();
-extern XPPrinterList XpGetPrinterList ();
-extern void XpFreePrinterList ();
-extern void XpRehashPrinterList ();
-extern Status XpQueryVersion ();
-extern Bool XpQueryExtension ();
-extern Screen **XpQueryScreens ();
-extern Status XpGetPdmStartParams ();
-extern Status XpGetAuthParams ();
-extern Status XpSendAuth ();
-extern Status XpSendOneTicket ();
-extern void XpSetLocaleHinter ();
-extern char *XpGetLocaleHinter ();
-
-extern char *XpGetLocaleNetString ();
-extern char *XpNotifyPdm ();
-
-#endif /* NeedFunctionPrototypes */
-
#endif /* _XP_PRINT_SERVER_ */
_XFUNCPROTOEND