From 4a6395e90d6bb701e8c41dd4b9f7ef0709e1d0b0 Mon Sep 17 00:00:00 2001 From: Christian Vogler Date: Sat, 27 Apr 2002 23:00:38 +0000 Subject: Add function to unregister configfile callback. Necessary to prevent segfaults if target of a callback has been disposed. CVS patchset: 1788 CVS date: 2002/04/27 23:00:38 --- include/xine.h.tmpl.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xine.h.tmpl.in b/include/xine.h.tmpl.in index f0e6f35cc..fa61f7fa2 100644 --- a/include/xine.h.tmpl.in +++ b/include/xine.h.tmpl.in @@ -28,7 +28,7 @@ \endverbatim */ /* - * $Id: xine.h.tmpl.in,v 1.91 2002/04/09 04:35:17 miguelfreitas Exp $ + * $Id: xine.h.tmpl.in,v 1.92 2002/04/27 23:00:38 cvogler Exp $ * */ @@ -678,6 +678,12 @@ struct config_values_s { */ void (*dispose) (config_values_t *self); + /* + * unregister callback function + */ + void (*unregister_callback) (config_values_t *this, + char *key); + /* * config values are stored here: */ -- cgit v1.2.3