Skip to content

Commit

Permalink
INTERNALS: bring back the "Library symbols" section
Browse files Browse the repository at this point in the history
Most contents was moved, but this text should remain here.

Follow-up to: d324ac8
Reported-by: Viktor Szakats
Bug: #9027 (comment)
Closes #9037
  • Loading branch information
bagder committed Jun 22, 2022
1 parent 6c501cb commit 8b83fbf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/INTERNALS.md
Expand Up @@ -58,3 +58,13 @@ versions of libs, tools and operating systems.
- perl 5.004
- roffit 0.5
- groff ? (any version that supports `groff -Tps -man [in] [out]`)

Library Symbols
===============

All symbols used internally in libcurl must use a `Curl_` prefix if they are
used in more than a single file. Single-file symbols must be made static.
Public ("exported") symbols must use a `curl_` prefix. (There are exceptions,
but they are to be changed to follow this pattern in future versions.) Public
API functions are marked with `CURL_EXTERN` in the public header files so
that all others can be hidden on platforms where this is possible.

0 comments on commit 8b83fbf

Please sign in to comment.