diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h | 6 | ||||
-rw-r--r-- | include/xine/xine_internal.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/xine.h b/include/xine.h index 0fa01dd4e..19731e820 100644 --- a/include/xine.h +++ b/include/xine.h @@ -117,6 +117,12 @@ int xine_check_version (int major, int minor, int sub) XINE_PROTECTED; */ xine_t *xine_new (void) XINE_PROTECTED; +/* allow the setting of some flags before xine_init + * FIXME-ABI: this is currently GLOBAL + */ +void xine_set_flags (xine_t *, int) XINE_PROTECTED __attribute__((weak)); +#define XINE_FLAG_NO_WRITE_CACHE 1 + /* * post_init the xine engine */ diff --git a/include/xine/xine_internal.h b/include/xine/xine_internal.h index 9a1ef699c..ea0f0074a 100644 --- a/include/xine/xine_internal.h +++ b/include/xine/xine_internal.h @@ -109,6 +109,12 @@ struct xine_s { #endif }; +/* FIXME-ABI Some global flag bits */ +/* See xine_set_flags() */ +#ifdef XINE_ENGINE_INTERNAL +extern int _x_flags XINE_PROTECTED; +#endif + /* * xine thread tickets */ |