Solstice X.25 9.2 Developer's Guide

8.7 equalx25--Compares two X.25 addresses

Synopsis
#include <netx25/x25_proto.h>
 #include <netx25/x25db.h>

    int equalx25 (
      struct xaddrf *x1,
      struct xaddrf *x2
  );
Description

Compares two X.25 addresses by checking to see whether the two xaddrf structures holding them are the same.

Arguments

The members of the structure are:

Table 8-8 Members of xaddrf structure

Member 

Description 

x1

A pointer to the structure containing the first X.25 address for checking. 

x2

A pointer to the structure containing the second X.25 address for checking. 

Return Values

Returns 1 if the two structures are the same, and 0 if they are not.