Next: , Previous: hdrf_new, Up: Internal Functions


A.5.49 hdrf_node_name_cmp

Compare two header fields using string collating sequence.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
static int hdrf_node_name_cmp( const void *field1, const void *field2 );

Parameters

const void *field1
a pointer to the first field
const void *field2
a pointer to the second field

Description

Compare two header fields using string collating sequence.

Returns

It returns ‘-1’, ‘0’, or ‘1’ if the first field's name is less than, equal to, or greater than, the second's, respectively.