Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
METALINK_CHUNK_CHECKSUM_T(3)  libmetalink Manual  METALINK_CHUNK_CHECKSUM_T(3)

NAME
       metalink_chunk_checksum_t - The structure that holds piece hashes for a
       resource.

SYNOPSIS
       #include	<metalink/metalink_types.h>

DESCRIPTION
       metalink_chunk_checksum_t is a structure	that holds piece hashes	for  a
       resource.   It  contains	length of piece	and a message digest algorithm
       name and	each hash value	which is stored	in metalink_piece_hash_t(3).

STRUCTURE MEMBERS
       char *type;
       int length;
       metalink_piece_hash_t **piece_hashes;

   type
       Null terminated string of a message digest algorithm name used to  cal-
       culate hash value for a resource.

   length
       Length of a piece in bytes.

   piece_hashes
       Null terminated array of	pointer	of metalink_piece_hash_t(3) structure.
       They are	ordered	so that	a pointer to metalink_piece_hash_t(3)  of  ith
       piece can be accessed by	piece_hashes[i].

SEE ALSO
       metalink_parse_file(3), metalink_piece_hash_t(3)

libmetalink 0.0.3		  10/28/2008	  METALINK_CHUNK_CHECKSUM_T(3)

NAME | SYNOPSIS | DESCRIPTION | STRUCTURE MEMBERS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=metalink_chunk_checksum_t&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help