tls_close()
This commit is contained in:
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…
x
Reference in New Issue
Block a user