Solstice X.25 9.2 Developer's Guide

8.19 x25_find_link_parameters--Finds Link Configuration Files and Builds a Linked List of Links

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

    int x25_find_link_parameters (
      struct link_data ** lptr
  );
Description

This function scans the directory containing the X.25 configuration files and builds a linked list of data structures.

Arguments

The members of the structure are:

Table 8-20 Members of link_data structure

Member 

Description 

lptr

Points to the address of a pointer to a link_data structure. Memory for these structures is dynamically allocated using calloc().

Return Values

Returns 0 on success.