| 1 | #ifndef V_NET_MBEDTLS_HELPERS_H |
| 2 | #define V_NET_MBEDTLS_HELPERS_H |
| 3 | |
| 4 | static inline void v_mbedtls_ssl_set_bio_nonblocking(mbedtls_ssl_context *ssl, mbedtls_net_context *net) |
| 5 | { |
| 6 | mbedtls_ssl_set_bio(ssl, net, mbedtls_net_send, mbedtls_net_recv, NULL); |
| 7 | } |
| 8 | |
| 9 | #endif |
| 10 | |