Next: , Previous: hdrf_ll_delete, Up: Internal Functions


A.5.47 hdrf_name_cmp

Compare a name to a header parameter's name using string collating sequence.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
static int hdrf_name_cmp( const void *name, const void *field );

Parameters

const void *name
a pointer to the name
const void *field
a pointer to the field

Description

Compare a name to a header parameter's name using string collating sequence.

Returns

It returns ‘-1’, ‘0’, or ‘1’ if the name is less than, equal to, or greater than, the header parameters name, respectively