LinePar structure

typedef struct _LinePar
 {
 HOBJ          lpID;          // Line Id
 char          lpName[65];    // Line name
 char          lpDevice[201]; // Device
 ExtKomParams *ExtKomPar;     // Parameters for ExtKom line type
 FileIOParams *FileIOPar;     // Parameters for File I/O line type
 TCPIPParams  *TCPIPPar;      // Parameters for TCP/IP line type
 void         *lpLnVarPar;    // Pointer to optional parameters
 KomUniVal     lpLnVal;       // value
 } LinePar;

Structure LinePar defines the parameters of the object of Line type. All the parameters are read-only, except lpLnVarPar!

lpID

Line ID (HOBJ).

lpName

Line name.

lpDevice

Line device.

ExtKomPar

typedef struct _ExtKomParams
 {
 char lpRun_Path[81];
 char lpWork_Path[81];
 char lpParams[81];
 } ExtKomParams;

Pointer to ExtKomParams structure with parameters of ExtKom communication line.

FileIOPar

typedef struct _FileIOParams
 {
 char lpInputFile[81];
 char lpArchiveDir[81];
 } FileIOParams;

Pointer to FileIOParams structure with parameters of File I/O communication line.

TCPIPPar

typedef struct _TCPIPParams
 {
 char lpIPHost[201];
 unsigned int lpIPPort;
 } TCPIPParams;

Pointer to TCPIPParams structure with parameters of TCP/IP-TCP line.

lpLnVarPar

Pointer to parameters depending on the communication line category. A programmer can place here a pointer to their own structure with auxiliary line parameters.

lpLnVal

A KomUniVal structure (line value).

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .