mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-11 18:42:23 +00:00
dix: unexport ResourceStateCallback (not used by drivers)
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
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
Only used by Xselinux extension, not by any drivers, so no need to keep it exported. Since it's never been used by drivers at all, it's effectively no ABI change, so can safely be done within ABI-25. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
f29fb6bb62
commit
8cd201d89a
2 changed files with 19 additions and 14 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
#include "include/callback.h"
|
||||
#include "include/dix.h"
|
||||
#include "include/resource.h"
|
||||
|
||||
|
|
@ -156,4 +157,19 @@ void GetXIDRange(int client,
|
|||
XID *minp,
|
||||
XID *maxp);
|
||||
|
||||
/* Resource state callback */
|
||||
extern CallbackListPtr ResourceStateCallback;
|
||||
|
||||
typedef enum {
|
||||
ResourceStateAdding,
|
||||
ResourceStateFreeing
|
||||
} ResourceState;
|
||||
|
||||
typedef struct {
|
||||
ResourceState state;
|
||||
XID id;
|
||||
RESTYPE type;
|
||||
void *value;
|
||||
} ResourceStateInfoRec;
|
||||
|
||||
#endif /* _XSERVER_DIX_RESOURCE_PRIV_H */
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ SOFTWARE.
|
|||
|
||||
#ifndef RESOURCE_H
|
||||
#define RESOURCE_H 1
|
||||
|
||||
#include "callback.h"
|
||||
|
||||
#include "misc.h"
|
||||
#include "dixaccess.h"
|
||||
|
||||
|
|
@ -103,20 +106,6 @@ extern _X_EXPORT unsigned int ResourceClientBits(void);
|
|||
|
||||
#define BAD_RESOURCE 0xe0000000
|
||||
|
||||
/* Resource state callback */
|
||||
extern _X_EXPORT CallbackListPtr ResourceStateCallback;
|
||||
|
||||
typedef enum { ResourceStateAdding,
|
||||
ResourceStateFreeing
|
||||
} ResourceState;
|
||||
|
||||
typedef struct {
|
||||
ResourceState state;
|
||||
XID id;
|
||||
RESTYPE type;
|
||||
void *value;
|
||||
} ResourceStateInfoRec;
|
||||
|
||||
typedef int (*DeleteType) (void *value,
|
||||
XID id);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue