xserver/dix/server_priv.h
Enrico Weigelt, metux IT consult 19921fd401
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / xserver-build-dragonflybsd (push) Waiting to run
Build X servers / Release pushed tag (push) Blocked by required conditions
check PRs for merge conflicts / notify (push) Waiting to run
delete old workflow runs / delete_old_workflow_runs (push) Waiting to run
delete old workflow runs / purge_deleted_branch_workflows (push) Waiting to run
dix: unexport ConnectionInfo field
Not used by any drivers, so no need to keep it in public SDK.
Since it's not used by any drivers, effectively no ABI change, so
can be safely done within ABI-25.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-10-01 11:42:50 +02:00

28 lines
695 B
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_DIX_SERVER_PRIV_H
#define _XSERVER_DIX_SERVER_PRIV_H
#include "include/callback.h"
#include "include/dix.h"
typedef struct {
ClientPtr client;
Mask access_mode;
int status;
} ServerAccessCallbackParam;
extern CallbackListPtr ServerAccessCallback;
static inline int dixCallServerAccessCallback(ClientPtr client, Mask access_mode)
{
ServerAccessCallbackParam rec = { client, access_mode, Success };
CallCallbacks(&ServerAccessCallback, &rec);
return rec.status;
}
extern char *ConnectionInfo;
#endif /* _XSERVER_DIX_SERVER_PRIV_H */