summaryrefslogtreecommitdiff
path: root/url.h
blob: 625f0b1126c322d920620fade23c03948c0942a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef URL_H
#define URL_H

struct url {
 char *scheme;
 char *username;
 char *password;
 char *domain;
 char *port;
 char *path;
 char *query_string;
 char *fragment_id;
};

void urlfromline(struct url *,char *);
void magic_and_defaults(struct url *);
#endif