1METALINK_RESOURCE_T(3)        libmetalink Manual        METALINK_RESOURCE_T(3)
2
3
4

NAME

6       metalink_resource_t - The structure that holds an URL of a resource and
7       its metadata.
8
9

SYNOPSIS

11       #include <metalink/metalink_types.h>
12
13

DESCRIPTION

15       metalink_resource_t is a structure that holds an URL of a resource  and
16       its metadata.
17
18

STRUCTURE MEMBERS

20       char *url;
21       char *type;
22       char *location;
23       int preference;
24       int maxconnections;
25
26
27   url
28       Null terminated string of URL.
29
30
31   type
32       Null terminated string of protocol of URL, like "http", "ftp".
33
34
35   location
36       Null  terminated string of country code, like "JP", where the server in
37       URL resides.
38
39
40   preference
41       Preference of this resource. The higher value has bigger preference.
42
43
44   maxconnections
45       Max connections that a client can establish to this resource simultaneā€
46       ously.
47
48

SEE ALSO

50       metalink_parse_file(3)
51
52
53
54libmetalink 0.0.3                 10/28/2008            METALINK_RESOURCE_T(3)
Impressum