diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-04-06 22:56:16 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-04-06 22:56:16 +0000 |
commit | e53e7d10665f18720746034eca7a2b8daf2a98b9 (patch) | |
tree | 17a95400d6227ab6a730381bb161b479d9b3eb60 /include | |
parent | ea9ae4923bc169fd74b32aa090fd60b684fbd09a (diff) | |
download | xine-lib-e53e7d10665f18720746034eca7a2b8daf2a98b9.tar.gz xine-lib-e53e7d10665f18720746034eca7a2b8daf2a98b9.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 19 |
1 files changed, 9 insertions, 10 deletions
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; |