00001 00006 /* 00007 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved 00008 * SPDX-License-Identifier: Apache-2.0 00009 * 00010 * Licensed under the Apache License, Version 2.0 (the "License"); you may 00011 * not use this file except in compliance with the License. 00012 * You may obtain a copy of the License at 00013 * 00014 * http://www.apache.org/licenses/LICENSE-2.0 00015 * 00016 * Unless required by applicable law or agreed to in writing, software 00017 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00018 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00019 * See the License for the specific language governing permissions and 00020 * limitations under the License. 00021 * 00022 * This file is part of mbed TLS (https://tls.mbed.org) 00023 */ 00024 #ifndef MBEDTLS_ERROR_H 00025 #define MBEDTLS_ERROR_H 00026 00027 #include <stddef.h> 00028 00098 #ifdef __cplusplus 00099 extern "C" { 00100 #endif 00101 00111 void mbedtls_strerror( int errnum, char *buffer, size_t buflen ); 00112 00113 #ifdef __cplusplus 00114 } 00115 #endif 00116 00117 #endif /* error.h */