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

Re: [tor-bugs] #32818 [Core Tor/Tor]: Standardise EXPOSE and INTERNAL macros to PRIVATE



#32818: Standardise EXPOSE and INTERNAL macros to PRIVATE
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:  teor
     Type:  task          |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:  0.2
Parent ID:  #32798        |         Points:  0.5
 Reviewer:  nickm         |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Here's how I searched for replacements:
 {{{
 $ grep -r '#.*if.*def.*[A-Z_]*\(INTERNAL\|EXPOSE\)[A-Z_]*' src | grep -v
 -e 'src/ext' -e 'include.am'
 src/lib/err/backtrace.h:#ifdef EXPOSE_CLEAN_BACKTRACE
 src/lib/err/backtrace.h:#endif /* defined(EXPOSE_CLEAN_BACKTRACE) */
 ...
 src/core/or/channeltls.h:#ifdef TOR_CHANNEL_INTERNAL_
 src/core/or/channeltls.h:#endif /* defined(TOR_CHANNEL_INTERNAL_) */
 src/core/or/channel.h:#ifdef TOR_CHANNEL_INTERNAL_
 src/core/or/channel.h:#endif /* defined(TOR_CHANNEL_INTERNAL_) */
 ...
 src/feature/dirparse/routerparse.h:#ifdef EXPOSE_ROUTERDESC_TOKEN_TABLE
 $ grep -r '#.*if.*def.*PRIVATE_' src | grep -v -e 'src/ext' -e
 'include.am'
 src/core/or/scheduler.h:#ifdef SCHEDULER_PRIVATE_
 src/core/or/scheduler.h:#endif /* defined(SCHEDULER_PRIVATE_) */
 src/core/or/channel.h:#ifdef CHANNEL_PRIVATE_
 src/core/or/channel.h:#endif /* defined(CHANNEL_PRIVATE_) */
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32818#comment:2>
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