Next: , Previous: dpktf_new, Up: Internal Functions   [Contents]


A.5.35 dpktf_node_name_cmp

compare two data packet fields by their names

Synopsis

#include <bpipe/bpipe.h>

int dpktf_node_name_cmp(
  const void *dpktf1,
  const void *dpktf2
);

Parameters

const void *dpktf1

first data packet field

const void *dpktf2

second data packet field

Description

This routine compares two data packet fields by their names, using string collating sequence

Returns

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.