Mercurial > mplayer.hg
view url.h @ 841:c906b7600fc6
Included "netdb.h" file needed.
Changed exit to return -1.
author | bertrand |
---|---|
date | Sun, 20 May 2001 12:58:41 +0000 |
parents | 9141234715a2 |
children | ede5785faa53 |
line wrap: on
line source
#ifndef URL_H #define URL_H typedef struct { char *url; char *protocol; char *hostname; char *file; unsigned int port; } URL_t; URL_t* set_url(char* url); void free_url(URL_t* url); #endif