summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-04-06 23:58:18 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-04-06 23:58:18 +0000
commit28d774a38b3db8c04e95338fbc9c2e9c5b55bd60 (patch)
tree60657a6cdcea7f2782c293247ffeb65a9e92ca15 /include
parent3be62315bb43ead81b1978cb47c31fe5f5ba0944 (diff)
downloadxine-lib-28d774a38b3db8c04e95338fbc9c2e9c5b55bd60.tar.gz
xine-lib-28d774a38b3db8c04e95338fbc9c2e9c5b55bd60.tar.bz2
fix pointers by making them relative to struct address
CVS patchset: 4558 CVS date: 2003/04/06 23:58:18
Diffstat (limited to 'include')
-rw-r--r--include/xine.h.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/xine.h.in b/include/xine.h.in
index 8c3afedc9..79edf5138 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.73 2003/04/06 22:56:16 guenter Exp $
+ * $Id: xine.h.in,v 1.74 2003/04/06 23:58:18 miguelfreitas Exp $
*
* public xine-lib (libxine) interface and documentation
*
@@ -1277,14 +1277,20 @@ typedef struct {
/* See XINE_MSG_xxx for defined types. */
int type;
- /* some message types have additional information parameters */
+ /* defined types are provided with a standard explanation.
+ * note: zero means no explanation.
+ */
+ int explanation; /* add to struct address to get a valid (char *) */
+
+ /* parameters are zero terminated strings */
int num_parameters;
+ int parameters; /* add to struct address to get a valid (char *) */
- /* where messages are stored, will be longer
+ /* 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
+ * the end marker is \0 \0
*/
char messages[1];
} xine_ui_message_data_t;