Data Fields
peerdist_info_block Struct Reference

A content information block. More...

#include <pccrc.h>

Data Fields

const struct peerdist_info_segmentsegment
 Content information segment. More...
unsigned int index
 Block index. More...
struct peerdist_range range
 Content range. More...
struct peerdist_range trim
 Trimmed content range. More...
 Block hash. More...

Detailed Description

A content information block.

Definition at line 394 of file pccrc.h.

Field Documentation

◆ segment

const struct peerdist_info_segment* peerdist_info_block::segment

Content information segment.

Definition at line 396 of file pccrc.h.

◆ index

unsigned int peerdist_info_block::index

Block index.

Definition at line 398 of file pccrc.h.

◆ range

struct peerdist_range peerdist_info_block::range

Content range.

Note that this range may exceed the overall content range.

Definition at line 404 of file pccrc.h.

◆ trim

struct peerdist_range peerdist_info_block::trim

Trimmed content range.

Definition at line 406 of file pccrc.h.

◆ hash

uint8_t peerdist_info_block::hash[PEERDIST_DIGEST_MAX_SIZE]

Block hash.

Definition at line 408 of file pccrc.h.

The documentation for this struct was generated from the following file: