GetProtocolNames function
The GetProtocolNames function needs to return a list of protocols it supports.Syntax
int __stdcall GetProtocolNames(
__out char *buf,
__inout int *len
);
Parameters
buf [out] A pointer to a buffer with the length of member len. This is a list with the names of the supported protocols, separated with zero bytes.
Example If the plugin supports the protocol HTTP and TCP, it should return string "HTTP\0TCP\0\0".
len [inout]* A pointer to the length, in bytes, of the buffer pointed to by the buf parameter. If buf parameter is zero or the buffer is to small, this parameter will receive the length needed to receive the data.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Requirements
Should be exported by | Receiver, Transformer and Processor plugin.
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|