metalink_file_t man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

METALINK_FILE_T(3)	      libmetalink Manual	    METALINK_FILE_T(3)

NAME
       metalink_file_t	-  The	structure  that	 holds information of a single
       file.

SYNOPSIS
       #include <metalink/metalink_types.h>

DESCRIPTION
       metalink_file_t is a structure that holds information of a single file.
       It  contains array of URLs(metalink_resource_t(3)), checksums and meta‐
       data for a file.

STRUCTURE MEMBERS
       char *name;
       long long int size;
       char *version;
       char *language;
       char *os;
       metalink_resource_t **resources;
       int maxconnections;
       metalink_checksum_t **checksums;
       metalink_chunk_checksum_t *chunk_checksum;

   name
       Null terminated file name of the resource  which	 corresponds  to  name
       element in Metalink XML file.

   size
       Length of the resource in bytes.

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

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

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

   resources
       Null terminated array of pointer of  metalink_resource_t(3)  structure.
       This  corresponds to resources element in Metalink XML file.  Each met‐
       alink_resource_t(3) structure corresponds to url	 element  in  Metalink
       XML file.

   maxconnections
       This  is	 a  value  of  maxconnections attribute of file element.  This
       value is usually used for upper limit of concurrent connections for the
       resource.

   checksums
       Null  terminated	 array of pointer of metalink_checksum_t(3) structure.
       This field is an array because in Metalink specification,  verification
       element	can  contain  multiple	hash  elements.	  Each metalink_check‐
       sum_t(3) structure corresponds to hash element in Metalink XML file.

   chunk_checksum
       The chunk checksum(aka piece hash) for the resource.  This  corresponds
       to pieces element under verification element in Metalink XML file.

SEE ALSO
       metalink_checksum_t(3),	      metalink_chunk_checksum_t(3),	  met‐
       alink_resource_t(3), metalink_parse_file(3)

libmetalink 0.0.3		  10/25/2008		    METALINK_FILE_T(3)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net