From e53e7d10665f18720746034eca7a2b8daf2a98b9 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 6 Apr 2003 22:56:16 +0000 Subject: fix XINE_EVENT_UI_MESSAGE - no pointers in message data please, as this piece of event data will be copied (flat) CVS patchset: 4555 CVS date: 2003/04/06 22:56:16 --- include/xine.h.in | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/xine.h.in b/include/xine.h.in index cedf68c29..8c3afedc9 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.72 2003/04/06 15:50:57 holstsn Exp $ + * $Id: xine.h.in,v 1.73 2003/04/06 22:56:16 guenter Exp $ * * public xine-lib (libxine) interface and documentation * @@ -1277,17 +1277,16 @@ typedef struct { /* See XINE_MSG_xxx for defined types. */ int type; - /* defined types are provided with a standard explanation. - * note: explanation may be NULL. - */ - char *explanation; - - /* parameters are zero terminated strings */ + /* some message types have additional information parameters */ int num_parameters; - char *parameters; - /* where messages are stored, will be longer */ - char internal_data[1]; + /* where messages are stored, will be longer + * + * this field begins with the message text itself (\0-terminated), + * followed by (optional) \0-terminated parameter strings + * the end marker is \0 \0 + */ + char messages[1]; } xine_ui_message_data_t; -- cgit v1.2.3