mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-08 17:08:01 +02:00
MITMisc: remove MITMisc.h library header, split into mitmistproto.h
Moving extension name from mitmiststr.h into mitmisc.h. Removing Xlib function prototypes from mitmisc.h. Moving protocol request opcodes into mitmiscproto.h Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
57d09e47d0
commit
3770d4bd03
3 changed files with 11 additions and 37 deletions
|
|
@ -7,8 +7,8 @@ xext_HEADERS = \
|
|||
geproto.h \
|
||||
Xge.h \
|
||||
lbxstr.h \
|
||||
MITMisc.h \
|
||||
mitmiscstr.h \
|
||||
mitmisc.h \
|
||||
mitmiscproto.h \
|
||||
multibuf.h \
|
||||
multibufst.h \
|
||||
security.h \
|
||||
|
|
|
|||
|
|
@ -28,39 +28,12 @@ in this Software without prior written authorization from The Open Group.
|
|||
|
||||
/* $Xorg: MITMisc.h,v 1.4 2001/02/09 02:03:23 xorgcvs Exp $ */
|
||||
|
||||
#ifndef _XMITMISC_H_
|
||||
#define _XMITMISC_H_
|
||||
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
#define X_MITSetBugMode 0
|
||||
#define X_MITGetBugMode 1
|
||||
#ifndef _MITMISC_H_
|
||||
#define _MITMISC_H_
|
||||
|
||||
#define MITMiscNumberEvents 0
|
||||
|
||||
#define MITMiscNumberErrors 0
|
||||
|
||||
#ifndef _MITMISC_SERVER_
|
||||
|
||||
_XFUNCPROTOBEGIN
|
||||
|
||||
Bool XMITMiscQueryExtension(
|
||||
Display* /* dpy */,
|
||||
int* /* event_basep */,
|
||||
int* /* error_basep */
|
||||
);
|
||||
|
||||
Status XMITMiscSetBugMode(
|
||||
Display* /* dpy */,
|
||||
Bool /* onOff */
|
||||
);
|
||||
|
||||
Bool XMITMiscGetBugMode(
|
||||
Display* /* dpy */
|
||||
);
|
||||
|
||||
_XFUNCPROTOEND
|
||||
|
||||
#endif
|
||||
#define MITMISCNAME "MIT-SUNDRY-NONSTANDARD"
|
||||
|
||||
#endif
|
||||
|
|
@ -29,12 +29,13 @@ in this Software without prior written authorization from The Open Group.
|
|||
|
||||
/* $Xorg: mitmiscstr.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
|
||||
|
||||
#ifndef _MITMISCSTR_H_
|
||||
#define _MITMISCSTR_H_
|
||||
#ifndef _MITMISCPROTO_H_
|
||||
#define _MITMISCPROTO_H_
|
||||
|
||||
#include "MITMisc.h"
|
||||
#include <X11/extensions/mitmisc.h>
|
||||
|
||||
#define MITMISCNAME "MIT-SUNDRY-NONSTANDARD"
|
||||
#define X_MITSetBugMode 0
|
||||
#define X_MITGetBugMode 1
|
||||
|
||||
typedef struct _SetBugMode {
|
||||
CARD8 reqType; /* always MITReqCode */
|
||||
|
|
@ -67,4 +68,4 @@ typedef struct {
|
|||
} xMITGetBugModeReply;
|
||||
#define sz_xMITGetBugModeReply 32
|
||||
|
||||
#endif /* _MITMISCSTR_H_ */
|
||||
#endif /* _MITMISCPROTO_H_ */
|
||||
Loading…
Add table
Reference in a new issue