summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-26 15:52:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-26 15:52:51 +0000
commite8382ba290025f941eff42d23b6d9237b3fb8c25 (patch)
tree46ef6ad0d17679ac2f81c19c464225710e43162d
parentfcb347d1249df552ef37faf47e2a15dbed5e7ce5 (diff)
downloadgnurl-e8382ba290025f941eff42d23b6d9237b3fb8c25.tar.gz
gnurl-e8382ba290025f941eff42d23b6d9237b3fb8c25.tar.bz2
gnurl-e8382ba290025f941eff42d23b6d9237b3fb8c25.zip
moved the symbols talk to the library part, updated slightly to match
-rw-r--r--docs/INTERNALS22
1 files changed, 13 insertions, 9 deletions
diff --git a/docs/INTERNALS b/docs/INTERNALS
index b35298dea..172eb2cf9 100644
--- a/docs/INTERNALS
+++ b/docs/INTERNALS
@@ -1,3 +1,4 @@
+ Updated for curl 7.6 on January 26, 2001
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
@@ -12,13 +13,6 @@ INTERNALS
Thus, the largest amount of code and complexity is in the library part.
-SYMBOLS
-=======
- All symbols used internally must use a 'Curl_' prefix if they're 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 destined to be changed to follow this pattern in the future.)
-
CVS
===
All changes to the sources are committed to the CVS repository as soon as
@@ -35,10 +29,11 @@ Windows vs Unix
There are a few differences in how to program curl the unix way compared to
the Windows way. The four perhaps most notable details are:
- 1. Different function names for close(), read(), write()
+ 1. Different function names for socket operations.
In curl, this is solved with defines and macros, so that the source looks
- the same at all places except for the header file that defines them.
+ the same at all places except for the header file that defines them. The
+ macros in use are sclose(), sread() and swrite().
2. Windows requires a couple of init calls for the socket stuff
@@ -187,6 +182,15 @@ Library
exists in lib/getpass.c. libcurl offers a custom callback that can be used
instead of this, but it doesn't change much to us.
+Library Symbols
+===============
+
+ All symbols used internally in libcurl must use a 'Curl_' prefix if they're
+ 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 destined to be changed to follow this pattern in the
+ future.)
+
Return Codes and Informationals
===============================