Integrated File System Introduction


Network selections

The following APIs provide the means to choose the transport on which an application should run.

These APIs require that *STMF /etc/netconfig file exist on the system. If the netconfig file does not exist in the /etc directory, the user must copy it from /QIBM/ProdData/OS400/RPC directory. The netconfig file is always in the /QIBM/ProdData/OS400/RPC directory.

API Description
endnetconfig() Releases the pointer to the records stored in the netconfig file
freenetconfigent() Frees the netconfig structure that is returned from the call to the getnetconfigent() function
getnetconfig() Returns the pointer to the current record in the netconfig file and increments its pointer to the next record
getnetconfigent() Returns the pointer to the netconfig structure that corresponds to the input netid
setnetconfig() Initializes the record pointer to the first entry in the netconfig file. The setnetconfig() function must be used before the first use of getnetconfig() function. The setnetconfig() function returns a unique handle (a pointer to the records stored in the netconfig file) to be used by the getnetconfig() function.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]