[tor-bugs] #26947 [Core Tor/Tor]: Add function for reporting the tor version in tor_api.h

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 26 14:19:43 UTC 2018


#26947: Add function for reporting the tor version in tor_api.h
------------------------------+--------------------
     Reporter:  hellais       |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #25510
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 As a user of libtor_api it would be useful for me to be able to obtain the
 version of tor without having to call it's main function.

 The function could look something like:

 {{{
 const char * tor_version()
 {
     return tor_version_string;
 }
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26947>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list