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

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



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