dix: Add a new "registry" mechanism for registering string names of things.

Supports protocol requests, events, and errors, and resource names.
Modify XRES extension to use it.
This commit is contained in:
Eamon Walsh
2007-10-11 14:17:17 -04:00
committed by Eamon Walsh
parent 8f23d40068
commit 6adeba1730
15 changed files with 469 additions and 62 deletions

View File

@@ -239,11 +239,6 @@ extern unsigned int GetXIDList(
extern RESTYPE lastResourceType;
extern RESTYPE TypeMask;
#ifdef XResExtension
extern Atom *ResourceNames;
void RegisterResourceName(RESTYPE type, char* name);
#endif
/*
* These are deprecated compatibility functions and will be removed soon!
* Please use the noted replacements instead.