Solstice X.25 9.2 Developer's Guide

8.2 Function Summary

The header files used by the NLI support functions are contained in the /usr/include/netx25 directory.

These functions are related to the PAD Hosts Database:

Table 8-1 PAD related functions

function 

description 

endpadent

closes the PAD Hosts Database 

getpadbyaddr

finds the PAD Hosts Database entry for a given address 

getpadent

reads the next line in the PAD Hosts Database 

padtos

converts a network PAD Hosts Database structure into a string 

setpadent

opens and rewinds the PAD Hosts Database 

These entries are related to the xhosts file:

Table 8-2 xhosts functions

function 

description 

endxhostent

closes the xhosts file

getxhostbyaddr

finds an entry in the xhosts file by address

getxhostbyname

finds an entry in the xhosts by name

getxhostent

reads the next line of the xhosts file

setxhostent

opens and rewinds the xhosts file

These functions are related to X.25 addressing:

Table 8-3 X.25 addressing functions

function 

description 

equalx25

compares two X.25 addresses 

stox25

converts an X.25 dot format address to an X.25 xaddrf structure 

x25tos

converts an X.25 xaddrf structure to an X.25 dot format address 

These functions are related to configuration files:

Table 8-4 Configuration file functions

function 

description 

x25_find_link_parameters

finds link configuration files and builds a linked list of links. 

x25_read_config_parameters

reads a configuration files into a data structure by link number 

x25_read_config_parameters_file

reads a configuration file into a data structure by filename 

x25_save_link_parameters

updates the configuration files 

x25_write_config_parameters

writes a data structure into a configuration file identified by a link number 

x25_write_config_parameters_file

writes a data structure into a configuration file identified by a filename 

x25_set_parse_error_function

installs a function as the default error handler. 

These functions are related to links:

Table 8-5 Link functions

function 

description 

getnettype

returns the type of network configured for a link 

linkidtox25

converts a character format link identifier to numeric format 

x25tolinkid

converts a numeric link identifier to a string