diff options
Diffstat (limited to 'url.h')
-rw-r--r-- | url.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#ifndef URL_H +#define URL_H + +typedef struct { + char *url; + char *protocol; + char *hostname; + char *path; + unsigned int port; +} URL_t; + +URL_t* set_url(char* url); +void free_url(URL_t* url); + +#endif |