diff --git a/XEVI.h b/EVI.h similarity index 62% rename from XEVI.h rename to EVI.h index d8e37ff..a164daf 100644 --- a/XEVI.h +++ b/EVI.h @@ -23,42 +23,16 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ -#ifndef _XEVI_H_ -#define _XEVI_H_ -#include -#define X_EVIQueryVersion 0 -#define X_EVIGetVisualInfo 1 +#ifndef _EVI_H_ +#define _EVI_H_ + #define XEVI_TRANSPARENCY_NONE 0 #define XEVI_TRANSPARENCY_PIXEL 1 #define XEVI_TRANSPARENCY_MASK 2 -#ifndef _XEVI_SERVER_ -typedef struct { - VisualID core_visual_id; - int screen; - int level; - unsigned int transparency_type; - unsigned int transparency_value; - unsigned int min_hw_colormaps; - unsigned int max_hw_colormaps; - unsigned int num_colormap_conflicts; - VisualID* colormap_conflicts; -} ExtendedVisualInfo; -_XFUNCPROTOBEGIN -Bool XeviQueryExtension( - Display* /* dpy */ -); -Status XeviQueryVersion( - Display* /* dpy */, - int* /* majorVersion */, - int* /* minorVersion */ -); -Status XeviGetVisualInfo( - Display* /* dpy */, - VisualID* /* visual_query */, - int /* nVisual_query */, - ExtendedVisualInfo** /* extendedVisualInfo_return */, - int* /* nInfo_return */ -); -_XFUNCPROTOEND -#endif + +#define EVINAME "Extended-Visual-Information" + +#define XEVI_MAJOR_VERSION 1 /* current version numbers */ +#define XEVI_MINOR_VERSION 0 + #endif diff --git a/XEVIstr.h b/EVIproto.h similarity index 92% rename from XEVIstr.h rename to EVIproto.h index 388ef4b..5201bb5 100644 --- a/XEVIstr.h +++ b/EVIproto.h @@ -23,15 +23,15 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ -#ifndef _EVISTR_H_ -#define _EVISTR_H_ +#ifndef _EVIPROTO_H_ +#define _EVIPROTO_H_ -#include +#include + +#define X_EVIQueryVersion 0 +#define X_EVIGetVisualInfo 1 #define VisualID CARD32 -#define EVINAME "Extended-Visual-Information" -#define XEVI_MAJOR_VERSION 1 /* current version numbers */ -#define XEVI_MINOR_VERSION 0 typedef CARD32 VisualID32; #define sz_VisualID32 4 @@ -95,4 +95,4 @@ typedef struct _XEVIGetVisualInfoReply { #undef VisualID -#endif /* _EVISTR_H_ */ +#endif /* _EVIPROTO_H_ */ diff --git a/Makefile.am b/Makefile.am index 4a6c38b..4c49cdd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,8 +24,8 @@ xext_HEADERS = \ Xcupstr.h \ Xdbe.h \ Xdbeproto.h \ - XEVI.h \ - XEVIstr.h \ + EVI.h \ + EVIproto.h \ Xext.h \ XLbx.h \ XShm.h \