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
#if defined(__SYMBIAN32__)
5
#include <e32def.h>
6
#endif
7
#include <stddef.h>
8
#include <time.h>
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
// Allocation is bounded by the Symbian signed 32-bit heap size. Overflow and
13
// exhaustion return NULL; the library propagates its existing allocation errors.
14
void
*
symbian_mbedtls_calloc
(
size_t
count,
size_t
size
);
15
void
symbian_mbedtls_free
(
void
* pointer);
16
// Implement with real UTC time. Certificate date verification remains enabled.
17
time_t
symbian_mbedtls_time
(time_t* output);
18
// Returns NULL for an unavailable or implausible UTC clock.
19
struct
tm*
symbian_mbedtls_utc_gmtime_r
(
const
time_t* input,
20
struct
tm* output);
21
#ifdef __cplusplus
22
}
23
#endif
24
#endif
// SYMBIAN_MBEDTLS_PLATFORM_H_
symbian_mbedtls_utc_gmtime_r
struct tm * symbian_mbedtls_utc_gmtime_r(const time_t *input, struct tm *output)
symbian_mbedtls_time
time_t symbian_mbedtls_time(time_t *output)
symbian_mbedtls_calloc
void * symbian_mbedtls_calloc(size_t count, size_t size)
symbian_mbedtls_free
void symbian_mbedtls_free(void *pointer)
size
uint32_t size
Definition
exports.cc:71
third_party
mbedtls-symbian
include
symbian_mbedtls
platform.h
Generated by
1.9.8