Revision ef4061e4 src/net_helper-ml.c

View differences:

src/net_helper-ml.c
671 671
	return (mlCompareSocketIDs(s1->addr,s2->addr) == 0);
672 672
}
673 673

  
674
int nodeid_cmp(const struct nodeID *s1, const struct nodeID *s2)
675
{
676
	return mlCompareSocketIDs(s1->addr,s2->addr);
677
}
678

  
674 679
int nodeid_dump(uint8_t *b, const struct nodeID *s, size_t max_write_size)
675 680
{
676 681
  if (max_write_size < SOCKETID_STRING_SIZE) return -1;

Also available in: Unified diff