1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00
mpv/url.h
bertrand fffaf83e4b Added initialisation of URL pointers.
Added null terminaison to string.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@841 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-20 12:42:14 +00:00

16 lines
199 B
C

#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