Next: matrix_memcpy, Previous: hdrf_new, Up: Internal Functions
Compare two header fields using string collating sequence.
#include <bpipe/bpipe.h>static int hdrf_node_name_cmp( const void *field1, const void *field2 );
const void *field1
- a pointer to the first field
const void *field2
- a pointer to the second field
Compare two header fields using string collating sequence.
It returns ‘-1’, ‘0’, or ‘1’ if the first field's name is less than, equal to, or greater than, the second's, respectively.