mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: unexport ReplyCallback
It's only used by record extension, not used by any drivers at all (neither FOSS nor proprietary), so it shouldn't be in the public SDK. Since it's never been used by any driver, it's effectively no ABI change, so we can safely do this within ABI-25. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
ca484055c7
commit
4a75fb14b7
11
include/os.h
11
include/os.h
@@ -194,17 +194,6 @@ PrivsElevated(void);
|
||||
extern _X_EXPORT int
|
||||
GetClientFd(ClientPtr);
|
||||
|
||||
/* stuff for ReplyCallback */
|
||||
extern _X_EXPORT CallbackListPtr ReplyCallback;
|
||||
typedef struct {
|
||||
ClientPtr client;
|
||||
const void *replyData;
|
||||
unsigned long dataLenBytes; /* actual bytes from replyData + pad bytes */
|
||||
unsigned long bytesRemaining;
|
||||
Bool startOfReply;
|
||||
unsigned long padBytes; /* pad bytes from zeroed array */
|
||||
} ReplyInfoRec;
|
||||
|
||||
/* stuff for FlushCallback */
|
||||
extern _X_EXPORT CallbackListPtr FlushCallback;
|
||||
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <X11/Xdefs.h>
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
#include "include/callback.h"
|
||||
|
||||
/* Client IDs. Use GetClientPid, GetClientCmdName and GetClientCmdArgs
|
||||
* instead of accessing the fields directly. */
|
||||
struct _ClientId {
|
||||
@@ -60,4 +62,15 @@ _X_EXPORT void SetCriticalOutputPending(void);
|
||||
/* exported only for DRI module, but should not be used by external drivers */
|
||||
_X_EXPORT void ResetCurrentRequest(struct _Client *client);
|
||||
|
||||
/* stuff for ReplyCallback */
|
||||
extern CallbackListPtr ReplyCallback;
|
||||
typedef struct {
|
||||
ClientPtr client;
|
||||
const void *replyData;
|
||||
unsigned long dataLenBytes; /* actual bytes from replyData + pad bytes */
|
||||
unsigned long bytesRemaining;
|
||||
Bool startOfReply;
|
||||
unsigned long padBytes; /* pad bytes from zeroed array */
|
||||
} ReplyInfoRec;
|
||||
|
||||
#endif /* _XSERVER_DIX_CLIENT_PRIV_H */
|
||||
|
||||
Reference in New Issue
Block a user