Next: dpktf_output_destroy, Previous: dpktf_new, Up: Internal Functions [Contents]
compare two data packet fields by their names
#include <bpipe/bpipe.h> int dpktf_node_name_cmp( const void *dpktf1, const void *dpktf2 );
const void *dpktf1
first data packet field
const void *dpktf2
second data packet field
This routine compares two data packet fields by their names, using string collating sequence
It returns ‘-1’, ‘0’, ‘1’ if the first field’s name is respectifely less than, equal to, or greater than that of the second field.