metalink_t man page

metalink_t — Metalink top level structure.

Synopsis

#include <metalink/metalink_types.h>

Description

metalink_t is a top level structure that contains metadata for Metalink file and list of metalink_file_t(3) structure. Typically metalink_t is created by parser function such as metalink_parse_file(3).

Structure Members

metalink_file_t **files;
char *identity;
char *tags;

files

Null terminated array of pointer of metalink_file_t(3) structure. This corresponds to files tag in Metalink XML file. Each metalink_file_t(3) structure corresponds to file element in Metalink XML file.

identity

Null terminated string which corresponds to identity element in Metalink XML file.

tags

Null terminated string which corresponds to tags element in Metalink XML file.

See Also

metalink_delete_t(3), metalink_file_t(3), metalink_parse_file(3)

Referenced By

metalink_delete(3), metalink_parse_file(3), metalink_parse_update(3).

10/25/2008 libmetalink 0.0.3 libmetalink Manual