Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2#ifndef SYMBIAN_MBEDTLS_PLATFORM_H_
3#define SYMBIAN_MBEDTLS_PLATFORM_H_
4#include <absl/base/nullability.h>
5#include <stddef.h>
6#include <time.h>
7#ifdef __cplusplus
8extern "C" {
9#endif
10// Allocation is bounded by the Symbian signed 32-bit heap size. Overflow and
11// exhaustion return NULL; the library propagates its existing allocation errors.
12void* absl_nullable symbian_mbedtls_calloc(size_t count, size_t size);
13void symbian_mbedtls_free(void* absl_nullable pointer);
14// Implement with real UTC time. Certificate date verification remains enabled.
15time_t symbian_mbedtls_time(time_t* absl_nullable output);
16// Returns NULL for an unavailable or implausible UTC clock.
17struct tm* absl_nullable symbian_mbedtls_utc_gmtime_r(
18 const time_t* absl_nullable input, struct tm* absl_nullable output);
19#ifdef __cplusplus
20}
21#endif
22#endif // SYMBIAN_MBEDTLS_PLATFORM_H_
GLint size
Definition gles2_frame_backend.cc:63
void *absl_nullable pointer
Definition gles2_frame_backend.cc:68
void symbian_mbedtls_free(void *absl_nullable pointer)
time_t symbian_mbedtls_time(time_t *absl_nullable output)
struct tm *absl_nullable symbian_mbedtls_utc_gmtime_r(const time_t *absl_nullable input, struct tm *absl_nullable output)
void *absl_nullable symbian_mbedtls_calloc(size_t count, size_t size)