typedef struct BindStruct{
char *protocolName;
int type;
int errCode;
struct BindStruct *next;
struct BindInitOptions *initOptions;
} BindStruct;
Value | Meaning |
PT_RECEIVER 0 | The protocol is a receiver (e.g. TCP/IP, Bluetooth). It should be able to establish a new connection with a client, receive data and send data to the client. |
PT_MANIPULATOR 1 | The protocol is a transformer (e.g. SSL/ TLS). When a PT_LABORER protocol requires to receive or send data, this protocol should manipulate the data. |
PT_LABORER 2 | The protocol is a processor (e.g. HTTP/SMTP/FTP). |
PT_NO_PROTOCOL 3 | This is not a protocol but does other thing (like an updater). |
Value | Meaning |
PT_CONTROLPANEL 0x10000 | The protocol wants the right to acces the settings of all the protocols and will be able to activate new protocols. |
PT_SUPPORT_PSIGN 0x20000 | The protocol suppports the pSign parameter, please read the remark section for more information. |
Value | Meaning |
PT_UTF_8_CHARSET 0x0 | The unicode strings passed by this protocol are in the UTF-8 charset. |
Value | Meaning |
BE_NOERR 0 | No error. |
BE_PROTOCOL_LOADING 1 | The protocol hasn't been loaded yet. The bind request is placed in a que and will be executed when the protocol has been loaded. |
BE_NOT_LOADED 2 | The protocol is unknown and not loaded. |
BE_NOT_SUPPORTED_PROTOCOL 3 | This protocol is not supported in the way it is implemented. Please read the remark section for more information. |
Minimum supported API | 1.00 |
Header | tvsserver_base.h |