[svn r4] Renamed the mythtv GStreamer module name.
4 * - Extracts and parses a URI char string, in according with the RFC 2396
5 * [http://www.ietf.org/rfc/rfc2396.txt]
7 * @author Rosfran Borges (rosfran.borges@indt.org.br)
16 /****************************************
18 ****************************************/
20 #define MYTH_URI_KNKOWN_PORT (-1)
21 #define MYTH_URI_DEFAULT_HTTP_PORT 80
22 #define MYTH_URI_DEFAULT_FTP_PORT 21
23 #define MYTH_URI_DEFAULT_PATH "/"
24 #define MYTH_URI_MAXLEN 256
26 #define MYTH_URI_PROTOCOL_DELIM "://"
27 #define MYTH_URI_USER_DELIM "@"
28 #define MYTH_URI_COLON_DELIM ":"
29 #define MYTH_URI_SLASH_DELIM "/"
30 #define MYTH_URI_SBLACET_DELIM "["
31 #define MYTH_URI_EBLACET_DELIM "]"
32 #define MYTH_URI_SHARP_DELIM "#"
33 #define MYTH_URI_QUESTION_DELIM "?"
34 #define MYTH_URI_ESCAPING_CHAR "%"
36 #define MYTH_URI_PROTOCOL_MYTH "myth"
37 #define MYTH_URI_PROTOCOL_HTTP "http"
38 #define MYTH_URI_PROTOCOL_FTP "ftp"
40 /****************************************
42 ****************************************/
44 typedef struct _MythURI {
56 const MythURI *myth_uri_new( gchar *value );
58 #define myth_uri_gethost(urip) (urip->host->str)
59 #define myth_uri_getport(urip) (urip->port)
60 #define myth_uri_getprotocol(urip) (urip->protocol->str)
61 #define myth_uri_getpath(urip) (urip->path->str)