1 Bugtraq Bug id: 15493867
3 --- a/include/X11/extensions/Print.h 2004-04-23 11:43:06.000000000 -0700
4 +++ b/include/X11/extensions/Print.h.new 2008-09-03 13:04:25.259850000 -0700
7 #define XP_DONT_CHECK 0
8 #define XP_INITIAL_RELEASE 1
9 +#define XP_SECOND_RELEASE 2
12 * For each single entry above, create one major/minor pair.
14 #define XP_PROTO_MAJOR 1
15 -#define XP_PROTO_MINOR 0
16 +#define XP_PROTO_MINOR 1
19 * Identify current version.
21 XRectangle *reproducible_area /* return value */
25 +extern Bool XpClientDPI_SUNW (
31 +extern Bool XpClientDPI (
36 extern void XpStartJob (
39 --- a/include/X11/extensions/Printstr.h 2005-07-25 09:15:05.000000000 -0700
40 +++ b/include/X11/extensions/Printstr.h.new 2008-09-03 13:26:27.277787000 -0700
42 #define X_PrintQueryScreens 22
43 #define X_PrintSetImageResolution 23
44 #define X_PrintGetImageResolution 24
45 +#define X_PrintClientDpi 25
47 /********************************************************************
50 } xPrintGetImageResolutionReply;
51 #define sz_xPrintGetImageResolutionReply 32
53 +typedef struct _PrintClientDpi {
54 + CARD8 reqType; /* always PrintReqCode */
55 + CARD8 printReqType; /* always X_PrintClientDpi */
57 + PCONTEXT printContext B32; /* print context */
58 + CARD16 clientDPI B16;
60 +} xPrintClientDpiReq;
61 +#define sz_xPrintClientDpiReq 12
64 + BYTE type; /* X_Reply */
65 + CARD8 status; /* accepted or not */
66 + CARD16 sequenceNumber B16;
74 +} xPrintClientDpiReply;
75 +#define sz_xPrintClientDpiReply 32
77 #ifndef _XP_PRINT_SERVER_
78 /***********************************************************************
81 extern void XpUnsetFontResFunc(ClientPtr);
82 extern void XpRegisterInitFunc(ScreenPtr, char *, int (*)(struct _XpContext *));
84 +typedef struct _XpClientFonts {
85 + struct _XpClientFonts *pNext;
88 + FontPtr client_font;
89 + FontPtr server_font;
90 +} XpClientFontsRec, *XpClientFontsPtr;
92 +typedef struct _XpClientDPI {
93 + struct _XpClientDPI *pNext;
94 + struct _XpClientDPI *pPrev;
95 + struct _XpClientFonts *head;
99 + XpContextPtr context;
102 +} XpClientDPIRec, *XpClientDPIPtr;
104 #endif /* _XP_PRINT_SERVER_ */