#include <netx25/x25_proto.h>
#include <netx25/x25db.h>
int equalx25 (
struct xaddrf *x1,
struct xaddrf *x2
);
Compares two X.25 addresses by checking to see whether the two xaddrf structures holding them are the same.
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. |
Returns 1 if the two structures are the same, and 0 if they are not.