# HG changeset patch # User rosfran # Date 1177081299 -3600 # Node ID 7efc73147f5ec7f0379bc2126548ff2873220da6 # Parent 3fe481998d738120cec51c2205aec176a7cc34db [svn r585] New function to get the channel list from database. diff -r 3fe481998d73 -r 7efc73147f5e gmyth/src/gmyth_tvchain.c --- a/gmyth/src/gmyth_tvchain.c Fri Apr 20 03:58:43 2007 +0100 +++ b/gmyth/src/gmyth_tvchain.c Fri Apr 20 16:01:39 2007 +0100 @@ -412,12 +412,15 @@ return prog_list; } -/** Returns the internal index for the TV chain related to the given +/** + * Returns the internal index for the TV chain related to the given * channel and start time. * * @param tvchain The GMythTVChain instance. * @param chanid The channel id. * @param startts The program start time. + * + * @return The position of the related program info in the TV chain. */ gint gmyth_tvchain_program_is_at (GMythTVChain *tvchain, GString *chanid, GTimeVal* startts) @@ -448,6 +451,7 @@ * * @param tvchain The GMythTVChain instance. * @param index The tvchain index. + * * @return The program info structure. */ GMythProgramInfo* @@ -496,11 +500,13 @@ return chain_entry; } -/** Gets the program info from backend database associated to the tv chain entry. +/** + * Gets the program info from backend database associated to the tv chain entry. * * @param tvchain The GMythTVChain instance. * @param entry the LiveTVChainEntry to be converted. - * @return The progrma info. + * + * @return The program info. */ GMythProgramInfo* gmyth_tvchain_entry_to_program (GMythTVChain *tvchain, struct LiveTVChainEntry *entry)