gmyth/src/gmyth_uri.h
branchtrunk
changeset 279 5a224299ab37
parent 157 585b3db817a1
child 307 0a8fe4427e41
     1.1 --- a/gmyth/src/gmyth_uri.h	Thu Nov 30 21:25:06 2006 +0000
     1.2 +++ b/gmyth/src/gmyth_uri.h	Fri Jan 19 18:05:58 2007 +0000
     1.3 @@ -67,6 +67,7 @@
     1.4  #define GMYTH_URI_EBLACET_DELIM 			"]"
     1.5  #define GMYTH_URI_SHARP_DELIM 				"#"
     1.6  #define GMYTH_URI_QUESTION_DELIM 			"?"
     1.7 +#define GMYTH_URI_E_DELIM 						"&"
     1.8  #define GMYTH_URI_ESCAPING_CHAR 			"%"
     1.9  
    1.10  #define GMYTH_URI_PROTOCOL_MYTH 			"myth"
    1.11 @@ -104,9 +105,13 @@
    1.12  GType       gmyth_uri_get_type (void);
    1.13  GMythURI*   gmyth_uri_new (void);
    1.14  GMythURI*   gmyth_uri_new_with_value (const gchar *value);
    1.15 -gboolean 		gmyth_uri_is_equals (GMythURI* uri1, GMythURI* uri2);
    1.16 +gboolean 		gmyth_uri_is_equals ( GMythURI* uri1, GMythURI* uri2 );
    1.17 +gboolean		gmyth_uri_is_livetv ( GMythURI* uri );
    1.18 +gint				gmyth_uri_get_channel_num( GMythURI* uri );
    1.19 +
    1.20 +
    1.21  #define 		gmyth_uri_get_host(urip) 			( urip->host != NULL ? urip->host->str : "" )
    1.22 -#define 		gmyth_uri_get_port(urip) 			(urip->port)
    1.23 +#define 		gmyth_uri_get_port(urip) 			( urip->port )
    1.24  #define 		gmyth_uri_get_protocol(urip) 	( urip->protocol != NULL ? urip->protocol->str : "" )
    1.25  #define 		gmyth_uri_get_path(urip) 			( urip->path != NULL ? urip->path->str : "" )
    1.26  #define 		gmyth_uri_get_user(urip) 			( urip->user != NULL ? urip->user->str : "" )