...
Blok kódu | ||||
---|---|---|---|---|
| ||||
typedef struct _LinePar { HOBJ lpID; // Line Id char lpName[65]; // Line name char lpDevice[201]; // Device ExtKomParams *ExtKomPar; // Parameters for ExtKom linkline type FileIOParams *FileIOPar; // Parameters for File I/O linkline type TCPIPParams *TCPIPPar; // Parameters for TCP/IP linkline 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
...
Blok kódu | ||||
---|---|---|---|---|
| ||||
typedef struct _ExtKomParams { char lpRun_Path[81]; char lpWork_Path[81]; char lpParams[81]; } ExtKomParams; |
Pointer to ExtKomParams structure with parameters of ExtKom communication linkline.
FileIOPar
Blok kódu | ||||
---|---|---|---|---|
| ||||
typedef struct _FileIOParams { char lpInputFile[81]; char lpArchiveDir[81]; } FileIOParams; |
Pointer to FileIOParams sturcture structure with parameters of File I/O communication linkline.
TCPIPPar
Blok kódu | ||||
---|---|---|---|---|
| ||||
typedef struct _TCPIPParams { char lpIPHost[201]; unsigned int lpIPPort; } TCPIPParams; |
Pointer to TCPIPParams structure with parameters of TCP/IP-TCP link line.
lpLnVarPar
Address Pointer to parameters depending on the communication link line category. A programmer can place here a pointer to their own structure with auxiliary line parameters for the link.
lpLnVal
Address to a structure A KomUniVal structure (line value).
Info | ||
---|---|---|
| ||
...