Fix examples to use new API and lots of compiler warnings.
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
** distribution.
|
||||
*/
|
||||
|
||||
/** @file
|
||||
* TLS abstraction API.
|
||||
*/
|
||||
|
||||
#ifndef __LIBSTROPHE_TLS_H__
|
||||
#define __LIBSTROPHE_TLS_H__
|
||||
|
||||
@@ -36,4 +40,7 @@ int tls_error(tls_t *tls);
|
||||
int tls_read(tls_t *tls, void * const buff, const size_t len);
|
||||
int tls_write(tls_t *tls, const void * const buff, const size_t len);
|
||||
|
||||
int tls_clear_pending_write(tls_t *tls);
|
||||
int tls_is_recoverable(int error);
|
||||
|
||||
#endif /* __LIBSTROPHE_TLS_H__ */
|
||||
|
||||
Reference in New Issue
Block a user