From c3d07a30e90656ab965f3242c2de1b403d4693c9 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Thu, 1 Mar 2018 23:13:26 +0000 Subject: [PATCH] for tcc compiler FossilOrigin-Name: e92658b29c67652cb6c26acf4a9856bcb00373b326250547d496dfec35b6675f --- src/cw/dtls_common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/cw/dtls_common.h diff --git a/src/cw/dtls_common.h b/src/cw/dtls_common.h new file mode 100644 index 00000000..ae268368 --- /dev/null +++ b/src/cw/dtls_common.h @@ -0,0 +1,13 @@ +#include +#include "conn.h" +struct dtls_ssl_cert +{ + int size; + int type; + uint8_t * data; +}; + +extern int dtls_bio_read(struct conn *conn, char *out, int maxlen); +extern int dtls_bio_write(struct conn * conn, const char *data, int len); + +