00001 #ifndef XMMS_URL_H 00002 #define XMMS_URL_H 00003 00004 struct xmms_url_St { 00005 char *protocol; 00006 char *username, *password; 00007 00008 int ipv6_host; 00009 char *host, *port; 00010 00011 char *path; 00012 }; 00013 00014 typedef struct xmms_url_St xmms_url_t; 00015 00016 xmms_url_t *parse_url(const char *); 00017 void free_url(xmms_url_t *); 00018 00019 #endif /* XMMS_URL_H */