|
|
@ -39,4 +39,10 @@ int ssllib_free(void);
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
int tls_connect(const char *, const char *, struct tlsport *);
|
|
|
|
int tls_connect(const char *, const char *, struct tlsport *);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* gracefully shutdown TLS connection and free resources
|
|
|
|
|
|
|
|
* it's always freeing and closing, but in case of wrong
|
|
|
|
|
|
|
|
* shutdown procedure returns -1, 0 otherwise.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
int tls_close(struct tlsport *);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __TLSPORT_H__ */
|
|
|
|
#endif /* __TLSPORT_H__ */
|
|
|
|