diff options
author | Keith Packard <keithp@keithp.com> | 2010-05-13 10:33:39 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-13 14:16:32 -0700 |
commit | f2a0c324e37c9fa3eb9087adbf963addb7f21d88 (patch) | |
tree | f3b600791c72e47c47001a65e246ef002b26dd25 /include | |
parent | c9e7ca4404803fe44d4684e0bb2ca2ee10fd4bb3 (diff) |
Remove devPrivates init and delete callback lists.
XSELinux was the only consumer of these interfaces and it no longer
needs them.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/privates.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/include/privates.h b/include/privates.h index e6f788de1..7850dea6d 100644 --- a/include/privates.h +++ b/include/privates.h @@ -94,33 +94,7 @@ extern _X_EXPORT int dixSetPrivate(PrivateRec **privates, const DevPrivateKey key, pointer val); /* - * Register callbacks to be called on private allocation/freeing. - * The calldata argument to the callbacks is a PrivateCallbackPtr. - */ -typedef struct _PrivateCallback { - DevPrivateKey key; /* private registration key */ - pointer *value; /* address of private pointer */ -} PrivateCallbackRec; - -/* - * Register a function to be called when dixAllocPrivate successfully associates - * 'key' with a new PrivateRec. - */ -extern _X_EXPORT int -dixRegisterPrivateInitFunc(const DevPrivateKey key, - CallbackProcPtr callback, pointer userdata); - -/* - * Register a function to be called when dixFreePrivates unassociates 'key' with - * a PrivateRec. - */ -extern _X_EXPORT int -dixRegisterPrivateDeleteFunc(const DevPrivateKey key, - CallbackProcPtr callback, pointer userdata); - -/* - * Unassociates all keys from 'privates', calls the callbacks registered with - * dixRegisterPrivateDeleteFunc, and frees all private data automatically + * Unassociates all keys from 'privates' and frees all private data automatically * allocated via dixRequestPrivate. */ extern _X_EXPORT void |