dix: unexport and document GetXIDList()

Not used by any drivers (just the xcmisc extension), so no need
to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-03-06 19:10:45 +01:00
committed by Enrico Weigelt, metux IT consult .
parent ecf9f59650
commit 452b9b0fb5
3 changed files with 19 additions and 7 deletions

View File

@@ -5,6 +5,8 @@
#ifndef _XSERVER_DIX_RESOURCE_PRIV_H
#define _XSERVER_DIX_RESOURCE_PRIV_H
#include <X11/Xdefs.h>
#include "include/dix.h"
#include "include/resource.h"
@@ -125,4 +127,16 @@ static inline Bool dixResouceIsServerOwned(XID xid) {
*/
int HashResourceID(XID id, unsigned int numBits);
/*
* @brief scan for free XIDs for client
*
* @param pClient the client to scan
* @param count maximum size of items to return
* @param pids pointer to XID where to return found free XIDs
* @result number of free XIDs
*/
unsigned int GetXIDList(ClientPtr pClient,
unsigned int count,
XID *pids);
#endif /* _XSERVER_DIX_RESOURCE_PRIV_H */