Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
socket_bio.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2#ifndef SYMBIAN_MBEDTLS_SOCKET_BIO_H_
3#define SYMBIAN_MBEDTLS_SOCKET_BIO_H_
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11// The caller owns fd and closes it after all callbacks have stopped. Attach
12// makes the connected socket nonblocking; a failed attach leaves it unchanged.
17
20int symbian_mbedtls_socket_bio_send(void* context, const unsigned char* data,
21 size_t size);
22int symbian_mbedtls_socket_bio_recv(void* context, unsigned char* data,
23 size_t size);
24
25#ifdef __cplusplus
26}
27#endif
28#endif // SYMBIAN_MBEDTLS_SOCKET_BIO_H_
uint32_t size
Definition exports.cc:71
int symbian_mbedtls_socket_bio_send(void *context, const unsigned char *data, size_t size)
int symbian_mbedtls_socket_bio_recv(void *context, unsigned char *data, size_t size)
void symbian_mbedtls_socket_bio_cancel(symbian_mbedtls_socket_bio *bio)
int symbian_mbedtls_socket_bio_attach(symbian_mbedtls_socket_bio *bio, int fd)
Definition socket_bio.h:13
int fd
Definition socket_bio.h:14
int cancelled
Definition socket_bio.h:15
std::vector< unsigned char > data
Definition usb.cc:292