version.c File Reference

#include "polarssl/config.h"
#include "polarssl/version.h"
#include <string.h>
Include dependency graph for version.c:

Go to the source code of this file.

Functions

unsigned int version_get_number ()
 Get the version number.
void version_get_string (char *string)
 Get the version string ("x.y.z").
void version_get_string_full (char *string)
 Get the full version string ("PolarSSL x.y.z").

Variables

const char version [] = POLARSSL_VERSION_STRING

Function Documentation

unsigned int version_get_number ( void   ) 

Get the version number.

Returns:
The constructed version number in the format MMNNPP00 (Major, Minor, Patch).

Definition at line 35 of file version.c.

References POLARSSL_VERSION_NUMBER.

Referenced by test_suite_check_runtime_version().

void version_get_string ( char *  string  ) 

Get the version string ("x.y.z").

Parameters:
string The string that will receive the value. (Should be at least 9 bytes in size)

Definition at line 40 of file version.c.

References POLARSSL_VERSION_STRING.

Referenced by test_suite_check_runtime_version().

void version_get_string_full ( char *  string  ) 

Get the full version string ("PolarSSL x.y.z").

Parameters:
string The string that will receive the value. (Should be at least 18 bytes in size)

Definition at line 45 of file version.c.

References POLARSSL_VERSION_STRING_FULL.

Referenced by test_suite_check_runtime_version().


Variable Documentation

const char version[] = POLARSSL_VERSION_STRING

Definition at line 33 of file version.c.

Referenced by pk_parse_key_pkcs8_unencrypted_der(), and pk_parse_key_sec1_der().


Generated on 9 Apr 2014 for PolarSSL v1.3.2 by  doxygen 1.6.1