mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
fffaf83e4b
Added null terminaison to string. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@841 b3059339-0415-0410-9bf9-f77b7e298cf2
16 lines
199 B
C
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
|