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 <absl/base/nullability.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12// The caller owns fd and closes it after all callbacks have stopped. Attach
13// makes the connected socket nonblocking; a failed attach leaves it unchanged.
18
20 symbian_mbedtls_socket_bio* absl_nullable bio, int fd);
22 symbian_mbedtls_socket_bio* absl_nullable bio);
23int symbian_mbedtls_socket_bio_send(void* absl_nullable context,
24 const unsigned char* absl_nullable data,
25 size_t size);
26int symbian_mbedtls_socket_bio_recv(void* absl_nullable context,
27 unsigned char* absl_nullable data,
28 size_t size);
29
30#ifdef __cplusplus
31}
32#endif
33#endif // SYMBIAN_MBEDTLS_SOCKET_BIO_H_
GLint size
Definition gles2_frame_backend.cc:63
int symbian_mbedtls_socket_bio_send(void *absl_nullable context, const unsigned char *absl_nullable data, size_t size)
int symbian_mbedtls_socket_bio_recv(void *absl_nullable context, unsigned char *absl_nullable data, size_t size)
void symbian_mbedtls_socket_bio_cancel(symbian_mbedtls_socket_bio *absl_nullable bio)
int symbian_mbedtls_socket_bio_attach(symbian_mbedtls_socket_bio *absl_nullable bio, int fd)
Definition socket_bio.h:14
int fd
Definition socket_bio.h:15
int cancelled
Definition socket_bio.h:16
std::vector< unsigned char > data
Definition usb.cc:296