tls_close()

master
Alexander Vdolainen 4 years ago
parent 55921bd815
commit d176ce7b9a

@ -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__ */

Loading…
Cancel
Save