1.1 --- a/gmyth/gmyth/gmyth_epg.c Mon Feb 25 17:51:43 2008 +0000
1.2 +++ b/gmyth/gmyth/gmyth_epg.c Thu Mar 13 16:29:38 2008 +0000
1.3 @@ -124,6 +124,14 @@
1.4 return TRUE;
1.5 }
1.6
1.7 +gboolean
1.8 +gmyth_epg_is_connected (GMythEPG *gmyth_epg)
1.9 +{
1.10 + g_return_val_if_fail (gmyth_epg != NULL, FALSE);
1.11 +
1.12 + return gmyth_query_is_alive (gmyth_epg->sqlquery);
1.13 +}
1.14 +
1.15 /** Disconnects from the Mysql database in the backend.
1.16 *
1.17 * @param gmyth_epg the GMythEPG instance to be disconnected