Tor  0.4.7.0-alpha-dev
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().