diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | cup.h (renamed from Xcup.h) | 41 | ||||
-rw-r--r-- | cupproto.h (renamed from Xcupstr.h) | 15 |
3 files changed, 15 insertions, 45 deletions
diff --git a/Makefile.am b/Makefile.am index 32b1295..c94052d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,8 +22,8 @@ xext_HEADERS = \ syncstr.h \ ag.h \ agproto.h \ - Xcup.h \ - Xcupstr.h \ + cup.h \ + cupproto.h \ Xdbe.h \ Xdbeproto.h \ EVI.h \ @@ -26,44 +26,15 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86$ */ -#ifndef _XCUP_H_ -#define _XCUP_H_ +#ifndef _CUP_H_ +#define _CUP_H_ -#include <X11/Xfuncproto.h> +#define XCUPNAME "TOG-CUP" -#define X_XcupQueryVersion 0 -#define X_XcupGetReservedColormapEntries 1 -#define X_XcupStoreColors 2 +#define XCUP_MAJOR_VERSION 1 /* current version numbers */ +#define XCUP_MINOR_VERSION 0 #define XcupNumberErrors 0 -#ifndef _XCUP_SERVER_ - -_XFUNCPROTOBEGIN - -Bool XcupQueryVersion( - Display* /* dpy */, - int* /* major_version */, - int* /* minor_version */ -); - -Status XcupGetReservedColormapEntries( - Display* /* dpy */, - int /* screen */, - XColor** /* colors_out */, - int* /* ncolors */ -); - -Status XcupStoreColors( - Display* /* dpy */, - Colormap /* colormap */, - XColor* /* colors */, - int /* ncolors */ -); - -_XFUNCPROTOEND - -#endif /* _XCUP_SERVER_ */ - -#endif /* _XCUP_H_ */ +#endif /* _CUP_H_ */ @@ -27,15 +27,14 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/include/extensions/Xcupstr.h,v 3.5 2001/08/01 00:44:35 tsi Exp $ */ -#ifndef _XCUPSTR_H_ /* { */ -#define _XCUPSTR_H_ +#ifndef _XCUPPROTO_H_ /* { */ +#define _XCUPPROTO_H_ -#include <X11/extensions/Xcup.h> +#include <X11/extensions/cup.h> -#define XCUPNAME "TOG-CUP" - -#define XCUP_MAJOR_VERSION 1 /* current version numbers */ -#define XCUP_MINOR_VERSION 0 +#define X_XcupQueryVersion 0 +#define X_XcupGetReservedColormapEntries 1 +#define X_XcupStoreColors 2 typedef struct _XcupQueryVersion { CARD8 reqType; /* always XcupReqCode */ @@ -105,5 +104,5 @@ typedef struct { } xXcupStoreColorsReply; #define sz_xXcupStoreColorsReply 32 -#endif /* } _XCUPSTR_H_ */ +#endif /* } _XCUPPROTO_H_ */ |