1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

minor edit

This commit is contained in:
Daniel Stenberg 2002-02-27 12:40:01 +00:00
parent d1a711eb6a
commit 36e1363e3d

View File

@ -54,7 +54,7 @@ Windows vs Unix
Inside the source code, We make an effort to avoid '#ifdef [Your OS]'. All Inside the source code, We make an effort to avoid '#ifdef [Your OS]'. All
conditionals that deal with features *should* instead be in the format conditionals that deal with features *should* instead be in the format
'#ifdef HAVE_THAT_WEIRD_FUNCTION'. Since Windows can't run configure scripts, '#ifdef HAVE_THAT_WEIRD_FUNCTION'. Since Windows can't run configure scripts,
we maintain two config-win32.h files (one in / and one in src/) that are we maintain two config-win32.h files (one in lib/ and one in src/) that are
supposed to look exactly as a config.h file would have looked like on a supposed to look exactly as a config.h file would have looked like on a
Windows machine! Windows machine!
@ -69,10 +69,10 @@ Library
rather small and easy-to-follow. All the ones prefixed with 'curl_easy' are rather small and easy-to-follow. All the ones prefixed with 'curl_easy' are
put in the lib/easy.c file. put in the lib/easy.c file.
Starting with libcurl 7.8, curl_global_init_() and curl_global_cleanup() were curl_global_init_() and curl_global_cleanup() should be called by the
introduced. They should be called by the application to initialize and clean application to initialize and clean up global stuff in the library. As of
up global stuff in the library. As of today, they just do the global SSL today, it can handle the global SSL initing if SSL is enabled and it can init
initing if SSL is enabled. libcurl itself has no "global" scope. the socket layer on windows machines. libcurl itself has no "global" scope.
All printf()-style functions use the supplied clones in lib/mprintf.c. This All printf()-style functions use the supplied clones in lib/mprintf.c. This
makes sure we stay absolutely platform independent. makes sure we stay absolutely platform independent.