Next: , Previous: bpipe_hdrf_matrix, Up: Header Field Manipulations   [Contents]


A.2.6 bpipe_hdrf_n

Return the number of header fields with a given name.

Synopsis

#include <bpipe/bpipe.h>

size_t bpipe_hdrf_n(
  BPipe *bpipe,
  const char *name
);

Parameters

BPipe *bpipe

binary pipe with which this field is associated

const char *name

the field’s name

Description

Return the number of header fields with a given name.

Returns

It returns the number of header data fields which have the given name. If none match, returns ‘0’.