ProtocolData structure
Contains information for a specific protocol and can be used by the protocol for the entire (client-, listen)session. Use this on 32-bit systems, use ProtocolData64 on 64-bit machines.Syntax
typedef struct ProtocolData{
int size;
struct ProtocolSession *psess;
char data[protocol_size];
} ProtocolData;
Members
size The size of the structure, in bytes.
psess A pointer to a ProtocolSession structure that identifies to which protocol the data member belongs to.
data An array for the protocol to store data. The size of the array is set by the function SetProtocolInformation when the protocol initialize.
Requirements
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|