summaryrefslogtreecommitdiff
path: root/include/registry.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-26 15:59:01 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-26 15:59:01 -0500
commit54cb729ecc2d366c1af836cb3d2ffc8e864e9b79 (patch)
tree55ef0446bbbff254afe3e0384edf7ea413366eac /include/registry.h
parentdecd5a7c605e42c99b6a4523c8e1833b859d9b24 (diff)
registry: Add a call for DTRACE compatibility.
Diffstat (limited to 'include/registry.h')
-rw-r--r--include/registry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/registry.h b/include/registry.h
index 90c3de367..edd6ef9a7 100644
--- a/include/registry.h
+++ b/include/registry.h
@@ -29,6 +29,7 @@ void RegisterExtensionNames(ExtensionEntry *ext);
/*
* Lookup functions. The returned string must not be modified or freed.
*/
+const char *LookupMajorName(int major);
const char *LookupRequestName(int major, int minor);
const char *LookupEventName(int event);
const char *LookupErrorName(int error);
@@ -51,6 +52,7 @@ void dixResetRegistry(void);
#define RegisterResourceName(a, b) { ; }
#define RegisterExtensionNames(a) { ; }
+#define LookupMajorName(a) XREGISTRY_UNKNOWN
#define LookupRequestName(a, b) XREGISTRY_UNKNOWN
#define LookupEventName(a) XREGISTRY_UNKNOWN
#define LookupErrorName(a) XREGISTRY_UNKNOWN