Fix examples to use new API and lots of compiler warnings.

This commit is contained in:
Jack Moffitt
2008-07-02 23:17:27 +00:00
parent 65a174ee7e
commit 9c49b16554
22 changed files with 197 additions and 71 deletions

View File

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