Returns 1 if both segments exist (or are NULL) and have the same rank, dimensions, protocol, blocksizes (if they are of protocol DRMS_TAS), type, and scope; 0 otherwise.
Definition at line 2707 of file drms_segment.c.