Opened 4 months ago

Last modified 2 days ago

#30349 new task

Document member-hiding conventions for structs

Reported by: catalyst Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: technical-debt, refactoring, network-team-roadmap-october
Cc: nickm Actual Points:
Parent ID: #29209 Points: 1
Reviewer: Sponsor: Sponsor31-must


We should document whatever conventions we choose for hiding struct members, probably in doc/HACKING. Also we should make tools for searching for violations, e.g., code that directly accesses private members without using the appropriate macros. (A fairly simple Coccinelle script should work for this.)

Child Tickets

Change History (4)

comment:1 Changed 4 months ago by dgoulet

Milestone: Tor: unspecified

comment:2 Changed 5 weeks ago by gaba

Keywords: network-team-roadmap-october added
Points: 0.51

comment:3 Changed 5 weeks ago by gaba

Cc: nickm added

comment:4 Changed 2 days ago by gaba

Sponsor: Sponsor31-canSponsor31-must
Note: See TracTickets for help on using tickets.