Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
fa2d53aa
Commit
fa2d53aa
authored
Jul 10, 2018
by
Nick Mathewson
🎨
Browse files
Stop mentioning src/or and src/common in doc/HACKING
parent
23dc770f
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/HACKING/CodingStandards.md
View file @
fa2d53aa
...
...
@@ -200,8 +200,8 @@ We have some wrapper functions like `tor_malloc`, `tor_free`, `tor_strdup`, and
always succeed or exit.)
You can get a full list of the compatibility functions that Tor provides by
looking through
`src/
common/util*.h`
and
`src/common/compat
*.h`
. You can see the
available containers in
`src/
common
/containers*.h`
. You should probably
looking through
`src/
lib/*/
*.h`
. You can see the
available containers in
`src/
lib
/containers
/
*.h`
. You should probably
familiarize yourself with these modules before you write too much code, or
else you'll wind up reinventing the wheel.
...
...
doc/HACKING/Module.md
View file @
fa2d53aa
...
...
@@ -96,8 +96,8 @@ There are couples of "rules" you want to follow:
filename as the one in the module. For example, this is a bad idea and
should never be done:
- `src/
or
/shared_random.c`
- `src/
or
/dirauth/shared_random.c`
- `src/
feature/dirclient
/shared_random.c`
- `src/
feature
/dirauth/shared_random.c`
*
When you include headers from the module,
**always**
use the full module
path in your statement. Example:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment