timeshift: add new style capability check.

This commit is contained in:
Adam Sutton 2013-01-05 19:11:45 +00:00
parent 88a9d96039
commit 564340b32d
3 changed files with 5 additions and 2 deletions

View file

@ -128,6 +128,9 @@ const tvh_caps_t tvheadend_capabilities[] = {
#endif
#if ENABLE_IMAGECACHE
{ "imagecache", &imagecache_enabled },
#endif
#if ENABLE_TIMESHIFT
{ "timeshift", &timeshift_enabled },
#endif
{ NULL, NULL }
};

View file

@ -34,7 +34,7 @@
static int timeshift_index = 0;
int timeshift_enabled;
uint32_t timeshift_enabled;
int timeshift_ondemand;
char *timeshift_path;
int timeshift_unlimited_period;

View file

@ -19,7 +19,7 @@
#ifndef __TVH_TIMESHIFT_H__
#define __TVH_TIMESHIFT_H__
extern int timeshift_enabled;
extern uint32_t timeshift_enabled;
extern int timeshift_ondemand;
extern char *timeshift_path;
extern int timeshift_unlimited_period;