The Great Renaming
A simple execution of tmp/invoke-rename.pl
diff --git a/library/version.c b/library/version.c
index c3af429..4e881f0 100644
--- a/library/version.c
+++ b/library/version.c
@@ -20,32 +20,32 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#if !defined(POLARSSL_CONFIG_FILE)
+#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else
-#include POLARSSL_CONFIG_FILE
+#include MBEDTLS_CONFIG_FILE
#endif
-#if defined(POLARSSL_VERSION_C)
+#if defined(MBEDTLS_VERSION_C)
#include "mbedtls/version.h"
#include <string.h>
-unsigned int version_get_number()
+unsigned int mbedtls_version_get_number()
{
- return( POLARSSL_VERSION_NUMBER );
+ return( MBEDTLS_VERSION_NUMBER );
}
-void version_get_string( char *string )
+void mbedtls_version_get_string( char *string )
{
- memcpy( string, POLARSSL_VERSION_STRING,
- sizeof( POLARSSL_VERSION_STRING ) );
+ memcpy( string, MBEDTLS_VERSION_STRING,
+ sizeof( MBEDTLS_VERSION_STRING ) );
}
-void version_get_string_full( char *string )
+void mbedtls_version_get_string_full( char *string )
{
- memcpy( string, POLARSSL_VERSION_STRING_FULL,
- sizeof( POLARSSL_VERSION_STRING_FULL ) );
+ memcpy( string, MBEDTLS_VERSION_STRING_FULL,
+ sizeof( MBEDTLS_VERSION_STRING_FULL ) );
}
-#endif /* POLARSSL_VERSION_C */
+#endif /* MBEDTLS_VERSION_C */