Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
torversion.h File Reference

Header for version.c. More...

Go to the source code of this file.

Functions

const char * get_version (void)
 
const char * get_short_version (void)
 

Detailed Description

Header for version.c.

Definition in file torversion.h.

Function Documentation

◆ get_short_version()

const char * get_short_version ( void  )

Return the current Tor version, without any git tag.

Definition at line 56 of file version.c.

Referenced by get_platform_str().

◆ get_version()

const char * get_version ( void  )

Return the current Tor version.

Definition at line 38 of file version.c.

Referenced by options_init_from_torrc(), print_library_versions(), and tor_init().