summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 19:14:22 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 19:14:22 +0100
commit299a77d45f12f0e9103925a86b985f307e8eee6d (patch)
tree460623a36dcf1b5218998b12bcb57366c2aba066
parent361dee4647591e47bbe6a8efcefb06fbc1e8314f (diff)
downloadxine-lib-299a77d45f12f0e9103925a86b985f307e8eee6d.tar.gz
xine-lib-299a77d45f12f0e9103925a86b985f307e8eee6d.tar.bz2
Make description and name of post-plugin parameters constant.
-rw-r--r--include/xine.h4
1 files 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). */