[tor-bugs] #4561 [Tor Client]: Extend Tor to no longer assume that a relay or bridge has exactly one address

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Mar 15 21:37:46 UTC 2012


#4561: Extend Tor to no longer assume that a relay or bridge has exactly one
address
------------------------+---------------------------------------------------
 Reporter:  karsten     |          Owner:  ln5                      
     Type:  project     |         Status:  needs_review             
 Priority:  normal      |      Milestone:  Sponsor G: March 31, 2012
Component:  Tor Client  |        Version:                           
 Keywords:              |         Parent:                           
   Points:              |   Actualpoints:                           
------------------------+---------------------------------------------------

Comment(by nickm):

 We aren't totally consistent with argument order.  Generally, here's what
 I do:

 Pretend this is an OO language, where there are functions in classes.
 When you would have a function named foo in class bar, name the C funtion
 "bar_foo" and have the first argument be a bar_t* or a const bar_t * as
 appropriate.

 So the style that you describe above seems fine.

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


More information about the tor-bugs mailing list