[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs