metalink_resource_t - Man Page
The structure that holds an URL of a resource and its metadata.
Synopsis
#include <metalink/metalink_types.h>
Description
metalink_resource_t is a structure that holds an URL of a resource and its metadata.
Structure Members
char *url;
char *type;
char *location;
int preference;
int maxconnections;
url
Null terminated string of URL.
type
Null terminated string of protocol of URL, like "http", "ftp".
location
Null terminated string of country code, like "JP", where the server in URL resides.
preference
Preference of this resource. The higher value has bigger preference.
maxconnections
Max connections that a client can establish to this resource simultaneously.
See Also
Referenced By
10/28/2008 libmetalink 0.0.3 libmetalink Manual