diff options
author | Stephen Torri <storri@users.sourceforge.net> | 2002-11-02 02:55:46 +0000 |
---|---|---|
committer | Stephen Torri <storri@users.sourceforge.net> | 2002-11-02 02:55:46 +0000 |
commit | 6f22e2a4bd9628738b840df463b98c4808b6b83e (patch) | |
tree | 45ace7477db91f3f4c2a2b039497e1eaad969b3f | |
parent | cdc94d821f6b329f7753a8fa2cfcea8b4af304b4 (diff) | |
download | xine-lib-6f22e2a4bd9628738b840df463b98c4808b6b83e.tar.gz xine-lib-6f22e2a4bd9628738b840df463b98c4808b6b83e.tar.bz2 |
Added macros for xine health check.
Added xine_health_check_s struct.
CVS patchset: 3133
CVS date: 2002/11/02 02:55:46
-rw-r--r-- | include/xine.h.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 1a84ff8bb..83eaf4f85 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.31 2002/10/31 16:58:13 mroi Exp $ + * $Id: xine.h.in,v 1.32 2002/11/02 02:55:46 storri Exp $ * * public xine-lib (libxine) interface and documentation * @@ -499,7 +499,7 @@ char **xine_get_autoplay_mrls (xine_t *self, int *num_mrls); /* get a list of file extensions for file types supported by xine - * the list is separated by spaces + * the list is separated by spaces * * the pointer returned can be free()ed when no longer used */ char *xine_get_file_extensions (xine_t *self); @@ -632,10 +632,22 @@ typedef struct { #define XINE_GUI_SEND_SELECT_VISUAL 8 /* - * xine-config stuff + * xine health check stuff */ -int xine_health_check(char* cdrom_dev, char* dvd_dev); +#define XINE_HEALTH_CHECK_OK 0 +#define XINE_HEALTH_CHECK_FAIL 1 +#define XINE_HEALTH_CHECK_UNSUPPORTED 2 + +struct xine_health_check_s { + int status; + const char* cdrom_dev; + const char* dvd_dev; + char* msg; +}; + +typedef struct xine_health_check_s xine_health_check_t; +xine_health_check_t* xine_health_check(xine_health_check_t*); /* * config entry data types |