mbed TLS v2.0.0
Macros | Variables
threading.h File Reference

Threading abstraction layer. More...

#include "config.h"
#include <stdlib.h>
Include dependency graph for threading.h:

Go to the source code of this file.

Macros

#define MBEDTLS_ERR_THREADING_FEATURE_UNAVAILABLE   -0x001A
 The selected feature is not available. More...
 
#define MBEDTLS_ERR_THREADING_BAD_INPUT_DATA   -0x001C
 Bad input parameters to function. More...
 
#define MBEDTLS_ERR_THREADING_MUTEX_ERROR   -0x001E
 Locking / unlocking / free failed with error code. More...
 

Variables

void(* mbedtls_mutex_init )(mbedtls_threading_mutex_t *mutex)
 
void(* mbedtls_mutex_free )(mbedtls_threading_mutex_t *mutex)
 
int(* mbedtls_mutex_lock )(mbedtls_threading_mutex_t *mutex)
 
int(* mbedtls_mutex_unlock )(mbedtls_threading_mutex_t *mutex)
 
mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex
 
mbedtls_threading_mutex_t mbedtls_threading_gmtime_mutex
 

Detailed Description

Threading abstraction layer.

Copyright (C) 2006-2013, ARM Limited, All Rights Reserved

This file is part of mbed TLS (https://tls.mbed.org)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition in file threading.h.

Macro Definition Documentation

#define MBEDTLS_ERR_THREADING_BAD_INPUT_DATA   -0x001C

Bad input parameters to function.

Definition at line 40 of file threading.h.

#define MBEDTLS_ERR_THREADING_FEATURE_UNAVAILABLE   -0x001A

The selected feature is not available.

Definition at line 39 of file threading.h.

#define MBEDTLS_ERR_THREADING_MUTEX_ERROR   -0x001E

Locking / unlocking / free failed with error code.

Definition at line 41 of file threading.h.

Variable Documentation

void(* mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex)
void(* mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex)
int(* mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex)
int(* mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex)
mbedtls_threading_mutex_t mbedtls_threading_gmtime_mutex
mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex