mbed TLS library
Dependents: HTTPClient-SSL WS_SERVER
version.c
00001 /* 00002 * Version information 00003 * 00004 * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved 00005 * 00006 * This file is part of mbed TLS (https://tls.mbed.org) 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License along 00019 * with this program; if not, write to the Free Software Foundation, Inc., 00020 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00021 */ 00022 00023 #if !defined(POLARSSL_CONFIG_FILE) 00024 #include "polarssl/config.h" 00025 #else 00026 #include POLARSSL_CONFIG_FILE 00027 #endif 00028 00029 #if defined(POLARSSL_VERSION_C) 00030 00031 #include "polarssl/version.h" 00032 #include <string.h> 00033 00034 unsigned int version_get_number() 00035 { 00036 return( POLARSSL_VERSION_NUMBER ); 00037 } 00038 00039 void version_get_string( char *string ) 00040 { 00041 memcpy( string, POLARSSL_VERSION_STRING, 00042 sizeof( POLARSSL_VERSION_STRING ) ); 00043 } 00044 00045 void version_get_string_full( char *string ) 00046 { 00047 memcpy( string, POLARSSL_VERSION_STRING_FULL, 00048 sizeof( POLARSSL_VERSION_STRING_FULL ) ); 00049 } 00050 00051 #endif /* POLARSSL_VERSION_C */ 00052
Generated on Tue Jul 12 2022 13:50:39 by 1.7.2