getinit is used to parse an X.25 link configuration file. The prototype for getinit is
getinit (char *file, _initvalues *I)
This subroutine will parse a given link parameter file in the format of and create the _initvalues structure. The full path name to the link parameter filename is passed as parameter file. The results are returned to the caller's parameter I.
getinit is found in the nma library /usr/lib/x25/nma/libnma.a. The _initvalues data structure is found in /usr/include/sys/x25/initparm.h.
getinit returns 0 in normal cases. It returns -1 if an error was detected; in most error cases a diagnostic message is written to standard error.
Copyright © 1997-2003 The Software Group
Limited. All Rights Reserved.
® Netcom is a registered trademark of The Software
Group Limited.