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
commit 6adeba1730
15 changed files with 469 additions and 62 deletions

View file

@ -266,9 +266,7 @@ RRModeInit (void)
RRModeType = CreateNewResourceType (RRModeDestroyResource);
if (!RRModeType)
return FALSE;
#ifdef XResExtension
RegisterResourceName (RRModeType, "MODE");
#endif
return TRUE;
}