|
|
@ -43,7 +43,7 @@ int ReadFromTLS(rfbClient* client, char *out, unsigned int n);
|
|
|
|
* It's a wrapper function over gnutls_record_send() and it will be
|
|
|
|
* It's a wrapper function over gnutls_record_send() and it will be
|
|
|
|
* blocking call, until all bytes are written or error returned.
|
|
|
|
* blocking call, until all bytes are written or error returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
int WriteToTLS(rfbClient* client, char *buf, unsigned int n);
|
|
|
|
int WriteToTLS(rfbClient* client, const char *buf, unsigned int n);
|
|
|
|
|
|
|
|
|
|
|
|
/* Free TLS resources */
|
|
|
|
/* Free TLS resources */
|
|
|
|
void FreeTLS(rfbClient* client);
|
|
|
|
void FreeTLS(rfbClient* client);
|
|
|
|