summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_frontend.h4
-rw-r--r--xine_frontend_internal.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/xine_frontend.h b/xine_frontend.h
index f588dc04..2deb4e1e 100644
--- a/xine_frontend.h
+++ b/xine_frontend.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.h,v 1.19 2009-05-31 16:51:25 phintuka Exp $
+ * $Id: xine_frontend.h,v 1.20 2009-12-29 13:45:54 phintuka Exp $
*
*/
@@ -92,6 +92,8 @@ struct frontend_s {
void (*xine_close)(frontend_t*);
void (*xine_exit)(frontend_t*);
+ void (*shutdown_init)(frontend_t*, const char *cmd, int timeout);
+
/* Execution control */
int (*fe_run)(frontend_t*);
void (*fe_interrupt)(frontend_t*);
diff --git a/xine_frontend_internal.h b/xine_frontend_internal.h
index 7409c867..4be606ba 100644
--- a/xine_frontend_internal.h
+++ b/xine_frontend_internal.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_internal.h,v 1.5 2008-11-14 23:31:37 phintuka Exp $
+ * $Id: xine_frontend_internal.h,v 1.6 2009-12-29 13:45:54 phintuka Exp $
*
*/
@@ -82,6 +82,9 @@ typedef struct fe_s {
uint8_t playback_finished : 1;
uint8_t slave_playback_finished : 1;
+ char *shutdown_cmd;
+ int shutdown_timeout;
+ time_t shutdown_time;
} fe_t;
/* setup function pointers */