[tor-bugs] #16204 [Tor]: Use opaque trunnel structures?

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 26 20:32:44 UTC 2015


#16204: Use opaque trunnel structures?
--------------------+------------------------------
 Reporter:  nickm   |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:  Tor: 0.2.???
Component:  Tor     |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+------------------------------
 Trunnel can generate code in "opaque mode" that hides all structure
 definitions and forces you to use accessor functions.  In his review of
 #12498, dgoulet points out that I am a bit sloppy with using accessors for
 trunnel structures.

 IMO, we should decide whether our coding style requires the use of
 accessors.  I hadn't thought that it did, but if we make that decisions,
 we should force accessor use by making structures opaque.

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


More information about the tor-bugs mailing list