Next: hdrf_ll_delete, Previous: hdrf_get, Up: Internal Functions
Compare an index to that in a header field.
#include <bpipe/bpipe.h>static int hdrf_index_cmp( const void *indexp, const void *field );
const void *indexp
- a pointer to the name
const void *field
- a pointer to the field
Compare an index to that in a header field.
It returns ‘-1’, ‘0’, or ‘1’ if the index is less than, equal to, or greater than, the header field's index, respectively