From 299a77d45f12f0e9103925a86b985f307e8eee6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 2 Jan 2008 19:14:22 +0100 Subject: Make description and name of post-plugin parameters constant. --- include/xine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xine.h b/include/xine.h index c3ac38cbf..17b8cfbf6 100644 --- a/include/xine.h +++ b/include/xine.h @@ -707,14 +707,14 @@ void xine_post_dispose(xine_t *xine, xine_post_t *self) XINE_PROTECTED; /* defines a single parameter entry. */ typedef struct { int type; /* POST_PARAM_TYPE_xxx */ - char *name; /* name of this parameter */ + const char *name; /* name of this parameter */ int size; /* sizeof(parameter) */ int offset; /* offset in bytes from struct ptr */ char **enum_values; /* enumeration (first=0) or NULL */ double range_min; /* minimum value */ double range_max; /* maximum value */ int readonly; /* 0 = read/write, 1=read-only */ - char *description; /* user-friendly description */ + const char *description; /* user-friendly description */ } xine_post_api_parameter_t; /* description of parameters struct (params). */ -- cgit v1.2.3