build: make use of 93 lib/*.c renamed files
authorYang Tse <yangsita@gmail.com>
Thu, 3 Jan 2013 02:53:06 +0000 (03:53 +0100)
committerYang Tse <yangsita@gmail.com>
Thu, 3 Jan 2013 04:50:26 +0000 (05:50 +0100)
93 *.c source files renamed to use our standard naming scheme.

This change affects 77 files in libcurl's source tree.

77 files changed:
CMakeLists.txt
docs/INTERNALS
docs/TODO
lib/CMakeLists.txt
lib/Makefile.am
lib/Makefile.inc
lib/Makefile.vc6
lib/README.curlx
lib/README.hostip
lib/axtls.c
lib/base64.c
lib/curl_addrinfo.c
lib/curl_asyn.h
lib/curl_darwinssl.c
lib/curl_easyif.h
lib/curl_ftp.h
lib/curl_hostip.h
lib/curl_http.h
lib/curl_imap.h
lib/curl_multiif.h
lib/curl_nssg.h
lib/curl_ntlm_core.c
lib/curl_ntlm_msgs.c
lib/curl_pop3.h
lib/curl_qssl.h
lib/curl_schannel.c
lib/curl_smtp.h
lib/curl_ssh.h
lib/curl_ssluse.h
lib/curl_url.h
lib/curl_urldata.h
lib/cyassl.c
lib/easy.c
lib/escape.c
lib/formdata.c
lib/ftp.c
lib/gtls.c
lib/hostip.c
lib/hostip6.c
lib/http.c
lib/http_chunks.c
lib/http_digest.c
lib/http_proxy.c
lib/imap.c
lib/krb5.c
lib/ldap.c
lib/mprintf.c
lib/multi.c
lib/non-ascii.c
lib/nss.c
lib/openldap.c
lib/pingpong.c
lib/polarssl.c
lib/pop3.c
lib/rtsp.c
lib/sendf.c
lib/smtp.c
lib/ssh.c
lib/ssluse.c
lib/tftp.c
lib/transfer.c
lib/url.c
packages/OS400/make-lib.sh
packages/Symbian/group/curl.mmp
packages/Symbian/group/libcurl.mmp
src/Makefile.Watcom
src/Makefile.inc
src/Makefile.vc6
src/tool_operate.c
src/vc6curlsrc.dsp
tests/libtest/Makefile.inc
tests/libtest/lib518.c
tests/libtest/lib537.c
tests/memanalyze.pl
tests/server/CMakeLists.txt
tests/server/Makefile.inc
winbuild/MakefileBuild.vc

index e571e55..ad90fb0 100644 (file)
@@ -769,13 +769,13 @@ if(CMAKE_COMPILER_IS_GNUCC AND APPLE)
   check_c_compiler_flag(-Wno-long-double HAVE_C_FLAG_Wno_long_double)
   if(HAVE_C_FLAG_Wno_long_double)
     # The Mac version of GCC warns about use of long double.  Disable it.
-    get_source_file_property(MPRINTF_COMPILE_FLAGS mprintf.c COMPILE_FLAGS)
+    get_source_file_property(MPRINTF_COMPILE_FLAGS curl_mprintf.c COMPILE_FLAGS)
     if(MPRINTF_COMPILE_FLAGS)
       set(MPRINTF_COMPILE_FLAGS "${MPRINTF_COMPILE_FLAGS} -Wno-long-double")
     else(MPRINTF_COMPILE_FLAGS)
       set(MPRINTF_COMPILE_FLAGS "-Wno-long-double")
     endif(MPRINTF_COMPILE_FLAGS)
-    set_source_files_properties(mprintf.c PROPERTIES
+    set_source_files_properties(curl_mprintf.c PROPERTIES
       COMPILE_FLAGS ${MPRINTF_COMPILE_FLAGS})
   endif(HAVE_C_FLAG_Wno_long_double)
 endif(CMAKE_COMPILER_IS_GNUCC AND APPLE)
index acd05e2..1868a18 100644 (file)
@@ -117,15 +117,15 @@ Library
  There are plenty of entry points to the library, namely each publicly defined
  function that libcurl offers to applications. All of those functions 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/curl_easy.c file.
 
  curl_global_init_() and curl_global_cleanup() should be called by the
  application to initialize and clean up global stuff in the library. As of
  today, it can handle the global SSL initing if SSL is enabled and it can init
  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
- makes sure we stay absolutely platform independent.
+ All printf()-style functions use the supplied clones in lib/curl_mprintf.c.
This makes sure we stay absolutely platform independent.
 
  curl_easy_init() allocates an internal struct and makes some initializations.
  The returned handle does not reveal internals. This is the 'SessionHandle'
@@ -140,17 +140,17 @@ Library
 
  curl_easy_perform() does a whole lot of things:
 
- It starts off in the lib/easy.c file by calling Curl_perform() and the main
work then continues in lib/url.c. The flow continues with a call to
+ It starts off in the lib/curl_easy.c file by calling Curl_perform() and the
main work then continues in lib/curl_url.c. The flow continues with a call to
  Curl_connect() to connect to the remote site.
 
  o Curl_connect()
 
    ... analyzes the URL, it separates the different components and connects to
    the remote host. This may involve using a proxy and/or using SSL. The
-   Curl_resolv() function in lib/hostip.c is used for looking up host names
-   (it does then use the proper underlying method, which may vary between
-   platforms and builds).
+   Curl_resolv() function in lib/curl_hostip.c is used for looking up host
+   names (it does then use the proper underlying method, which may vary
+   between platforms and builds).
 
    When Curl_connect is done, we are connected to the remote site. Then it is
    time to tell the server to get a document/file. Curl_do() arranges this.
@@ -165,15 +165,15 @@ Library
    Curl_do() makes sure the proper protocol-specific function is called. The
    functions are named after the protocols they handle. Curl_ftp(),
    Curl_http(), Curl_dict(), etc. They all reside in their respective files
-   (ftp.c, http.c and dict.c). HTTPS is handled by Curl_http() and FTPS by
-   Curl_ftp().
+   (curl_ftp.c, curl_http.c and curl_dict.c). HTTPS is handled by Curl_http()
+   and FTPS by Curl_ftp().
 
    The protocol-specific functions of course deal with protocol-specific
    negotiations and setup. They have access to the Curl_sendf() (from
-   lib/sendf.c) function to send printf-style formatted data to the remote
-   host and when they're ready to make the actual file transfer they call the
-   Curl_Transfer() function (in lib/transfer.c) to setup the transfer and
-   returns.
+   lib/curl_sendf.c) function to send printf-style formatted data to the
+   remote host and when they're ready to make the actual file transfer they
+   call the Curl_Transfer() function (in lib/curl_transfer.c) to setup the
+   transfer and returns.
 
    If this DO function fails and the connection is being re-used, libcurl will
    then close this connection, setup a new connection and re-issue the DO
@@ -187,13 +187,13 @@ Library
 
  o Transfer()
 
-   Curl_perform() then calls Transfer() in lib/transfer.c that performs the
-   entire file transfer.
+   Curl_perform() then calls Transfer() in lib/curl_transfer.c that performs
+   the entire file transfer.
 
-   During transfer, the progress functions in lib/progress.c are called at a
-   frequent interval (or at the user's choice, a specified callback might get
-   called). The speedcheck functions in lib/speedcheck.c are also used to
-   verify that the transfer is as fast as required.
+   During transfer, the progress functions in lib/curl_progress.c are called
+   at a frequent interval (or at the user's choice, a specified callback
+   might get called). The speedcheck functions in lib/curl_speedcheck.c are
+   also used to verify that the transfer is as fast as required.
 
  o Curl_done()
 
@@ -241,11 +241,11 @@ Library
  HTTP(S)
 
  HTTP offers a lot and is the protocol in curl that uses the most lines of
- code. There is a special file (lib/formdata.c) that offers all the multipart
- post functions.
+ code. There is a special file (lib/curl_formdata.c) that offers all the
multipart post functions.
 
- base64-functions for user+password stuff (and more) is in (lib/base64.c) and
- all functions for parsing and sending cookies are found in (lib/cookie.c).
+ base64-functions for user+password stuff (and more) is in (lib/curl_base64.c)
+ and all functions for parsing and sending cookies in (lib/curl_cookie.c).
 
  HTTPS uses in almost every means the same procedure as HTTP, with only two
  exceptions: the connect procedure is different and the function used to read
@@ -253,8 +253,8 @@ Library
  the source by the use of Curl_read() for reading and Curl_write() for writing
  data to the remote server.
 
- http_chunks.c contains functions that understands HTTP 1.1 chunked transfer
- encoding.
+ curl_http_chunks.c contains functions that understands HTTP 1.1 chunked
transfer encoding.
 
  An interesting detail with the HTTP(S) request, is the Curl_add_buffer()
  series of functions we use. They append data to one single buffer, and when
@@ -264,7 +264,7 @@ Library
  FTP
 
  The Curl_if2ip() function can be used for getting the IP number of a
- specified network interface, and it resides in lib/if2ip.c.
+ specified network interface, and it resides in lib/curl_if2ip.c.
 
  Curl_ftpsendf() is used for sending FTP commands to the remote server. It was
  made a separate function to prevent us programmers from forgetting that they
@@ -273,41 +273,42 @@ Library
 
  Kerberos
 
- The kerberos support is mainly in lib/krb4.c and lib/security.c.
+ The kerberos support is mainly in lib/curl_krb4.c and lib/curl_security.c.
 
  TELNET
 
- Telnet is implemented in lib/telnet.c.
+ Telnet is implemented in lib/curl_telnet.c.
 
  FILE
 
- The file:// protocol is dealt with in lib/file.c.
+ The file:// protocol is dealt with in lib/curl_file.c.
 
  LDAP
 
- Everything LDAP is in lib/ldap.c and lib/openldap.c
+ Everything LDAP is in lib/curl_ldap.c and lib/curl_openldap.c
 
  GENERAL
 
  URL encoding and decoding, called escaping and unescaping in the source code,
- is found in lib/escape.c.
+ is found in lib/curl_escape.c.
 
  While transferring data in Transfer() a few functions might get used.
- curl_getdate() in lib/parsedate.c is for HTTP date comparisons (and more).
+ curl_getdate() in lib/curl_parsedate.c is for HTTP date comparisons (and
+ more).
 
- lib/getenv.c offers curl_getenv() which is for reading environment variables
- in a neat platform independent way. That's used in the client, but also in
- lib/url.c when checking the proxy environment variables. Note that contrary
- to the normal unix getenv(), this returns an allocated buffer that must be
- free()ed after use.
+ lib/curl_getenv.c offers curl_getenv() which is for reading environment
+ variables in a neat platform independent way. That's used in the client,
+ but also in lib/curl_url.c when checking the proxy environment variables.
+ Note that contrary to the normal unix getenv(), this returns an allocated
buffer that must be free()ed after use.
 
- lib/netrc.c holds the .netrc parser
+ lib/curl_netrc.c holds the .netrc parser
 
- lib/timeval.c features replacement functions for systems that don't have
+ lib/curl_timeval.c features replacement functions for systems that don't have
  gettimeofday() and a few support functions for timeval conversions.
 
  A function named curl_version() that returns the full curl version string is
- found in lib/version.c.
+ found in lib/curl_version.c.
 
 Persistent Connections
 ======================
@@ -411,10 +412,10 @@ API/ABI
 Client
 ======
 
- main() resides in src/main.c together with most of the client code.
+ main() resides in src/tool_main.c together with most of the client code.
 
  src/tool_hugehelp.c is automatically generated by the mkhelp.pl perl script
- to display the complete "manual" and the src/urlglob.c file holds the
+ to display the complete "manual" and the src/tool_urlglob.c file holds the
  functions used for the URL-"globbing" support. Globbing in the sense that
  the {} and [] expansion stuff is there.
 
@@ -423,10 +424,10 @@ Client
  control after the curl_easy_perform() it cleans up the library, checks status
  and exits.
 
- When the operation is done, the ourWriteOut() function in src/writeout.c may
- be called to report about the operation. That function is using the
curl_easy_getinfo() function to extract useful information from the curl
- session.
+ When the operation is done, the ourWriteOut() function in
+ src/tool_writeout.c may be called to report about the operation. That
function is using the curl_easy_getinfo() function to extract useful
information from the curl session.
 
  Recent versions may loop and do all this several times if many URLs were
  specified on the command line or config file.
@@ -434,12 +435,12 @@ Client
 Memory Debugging
 ================
 
- The file lib/memdebug.c contains debug-versions of a few functions. Functions
- such as malloc, free, fopen, fclose, etc that somehow deal with resources
- that might give us problems if we "leak" them. The functions in the memdebug
- system do nothing fancy, they do their normal function and then log
- information about what they just did. The logged data can then be analyzed
- after a complete session,
+ The file lib/curl_memdebug.c contains debug-versions of a few functions.
+ Functions such as malloc, free, fopen, fclose, etc that somehow deal with
+ resources that might give us problems if we "leak" them. The functions in
+ the memory tracking system do nothing fancy, they do their normal function
+ and then log information about what they just did. The logged data can then
be analyzed after a complete session,
 
  memanalyze.pl is the perl script present in tests/ that analyzes a log file
  generated by the memory tracking system. It detects if resources are
index 611b530..72ca8d8 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -541,8 +541,8 @@ to provide the data to send.
 
 19.1 http-style HEAD output for ftp
 
- #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers
- from being output in NOBODY requests over ftp
+ #undef CURL_FTP_HTTPSTYLE_HEAD in lib/curl_ftp.c to remove the HTTP-style
headers from being output in NOBODY requests over ftp
 
 19.2 combine error codes
 
index 09b976c..517ffcf 100644 (file)
@@ -18,18 +18,18 @@ if(MSVC)
 endif()
 
 # SET(CSOURCES
-# #  memdebug.c -not used
-# # nwlib.c - Not used
-# # strtok.c - specify later
-# # strtoofft.c - specify later
+# # curl_memdebug.c -not used
+# # curl_nwlib.c - Not used
+# # curl_strtok.c - specify later
+# # curl_strtoofft.c - specify later
 # )
 
 # # if we have Kerberos 4, right now this is never on
 # #OPTION(CURL_KRB4 "Use Kerberos 4" OFF)
 # IF(CURL_KRB4)
 # SET(CSOURCES ${CSOURCES}
-# krb4.c
-# security.c
+# curl_krb4.c
+# curl_security.c
 # )
 # ENDIF(CURL_KRB4)
 
@@ -37,33 +37,33 @@ endif()
 # MARK_AS_ADVANCED(CURL_MALLOC_DEBUG)
 # IF(CURL_MALLOC_DEBUG)
 # SET(CSOURCES ${CSOURCES}
-# memdebug.c
+# curl_memdebug.c
 # )
 # ENDIF(CURL_MALLOC_DEBUG)
 
 # # only build compat strtoofft if we need to
 # IF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64)
 # SET(CSOURCES ${CSOURCES}
-# strtoofft.c
+# curl_strtoofft.c
 # )
 # ENDIF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64)
 
 if(HAVE_FEATURES_H)
   set_source_files_properties(
-    cookie.c
-    easy.c
-    formdata.c
-    getenv.c
-    nonblock.c
-    hash.c
-    http.c
-    if2ip.c
-    mprintf.c
-    multi.c
-    sendf.c
-    telnet.c
-    transfer.c
-    url.c
+    curl_cookie.c
+    curl_easy.c
+    curl_formdata.c
+    curl_getenv.c
+    curl_nonblock.c
+    curl_hash.c
+    curl_http.c
+    curl_if2ip.c
+    curl_mprintf.c
+    curl_multi.c
+    curl_sendf.c
+    curl_telnet.c
+    curl_transfer.c
+    curl_url.c
     COMPILE_FLAGS -D_BSD_SOURCE)
 endif(HAVE_FEATURES_H)
 
index 39fb4ff..1125681 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -30,16 +30,46 @@ DOCS = README.encoding README.memoryleak README.ares README.curlx   \
 
 CMAKE_DIST = CMakeLists.txt curl_config.h.cmake
 
-EXTRA_DIST = Makefile.b32 Makefile.m32 Makefile.vc6 $(DSP)              \
- vc6libcurl.dsw config-win32.h config-win32ce.h config-riscos.h         \
- config-mac.h curl_config.h.in makefile.dj config-dos.h libcurl.plist   \
- libcurl.rc config-amigaos.h makefile.amiga                             \
- Makefile.netware nwlib.c nwos.c msvcproj.head msvcproj.foot           \
- config-win32ce.h config-os400.h setup-os400.h config-symbian.h                \
- Makefile.Watcom config-tpf.h $(DOCS) $(VCPROJ) mk-ca-bundle.pl                \
- mk-ca-bundle.vbs firefox-db2pem.sh $(CMAKE_DIST) config-vxworks.h     \
- Makefile.vxworks config-vms.h checksrc.pl objnames-test.sh            \
- objnames.inc
+EXTRA_DIST = \
+ $(CMAKE_DIST) \
+ $(DOCS) \
+ $(DSP) \
+ $(VCPROJ) \
+ Makefile.Watcom \
+ Makefile.b32 \
+ Makefile.m32 \
+ Makefile.netware \
+ Makefile.vc6 \
+ Makefile.vxworks \
+ checksrc.pl \
+ config-amigaos.h \
+ config-dos.h \
+ config-mac.h \
+ config-os400.h \
+ config-riscos.h \
+ config-symbian.h \
+ config-tpf.h \
+ config-vms.h \
+ config-vxworks.h \
+ config-win32.h \
+ config-win32ce.h \
+ config-win32ce.h \
+ curl_config.h.in \
+ curl_nwlib.c \
+ curl_nwos.c \
+ firefox-db2pem.sh \
+ libcurl.plist \
+ libcurl.rc \
+ makefile.amiga \
+ makefile.dj \
+ mk-ca-bundle.pl \
+ mk-ca-bundle.vbs \
+ msvcproj.foot \
+ msvcproj.head \
+ objnames-test.sh \
+ objnames.inc \
+ setup-os400.h \
+ vc6libcurl.dsw
 
 CLEANFILES = $(DSP) $(VCPROJ)
 
index 115dd44..2765863 100644 (file)
 # CSRC2 = file4.c file5.c file6.c
 # CSOURCES = $(CSRC1) $(CSRC2)
 
-CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c    \
-  cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c      \
-  ldap.c ssluse.c version.c getenv.c escape.c mprintf.c telnet.c       \
-  netrc.c getinfo.c transfer.c strequal.c easy.c security.c krb4.c     \
-  curl_fnmatch.c fileinfo.c ftplistparser.c wildcard.c krb5.c          \
-  memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c multi.c   \
-  content_encoding.c share.c http_digest.c md4.c md5.c curl_rand.c     \
-  http_negotiate.c inet_pton.c strtoofft.c strerror.c amigaos.c                \
-  hostasyn.c hostip4.c hostip6.c hostsyn.c inet_ntop.c parsedate.c     \
-  select.c gtls.c sslgen.c tftp.c splay.c strdup.c socks.c ssh.c nss.c \
-  qssl.c rawstr.c curl_addrinfo.c socks_gssapi.c socks_sspi.c          \
-  curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c   \
-  pingpong.c rtsp.c curl_threads.c warnless.c hmac.c polarssl.c                \
-  curl_rtmp.c openldap.c curl_gethostname.c gopher.c axtls.c           \
-  idn_win32.c http_negotiate_sspi.c cyassl.c http_proxy.c non-ascii.c  \
-  asyn-ares.c asyn-thread.c curl_gssapi.c curl_ntlm.c curl_ntlm_wb.c   \
-  curl_ntlm_core.c curl_ntlm_msgs.c curl_sasl.c curl_schannel.c                \
-  curl_multibyte.c curl_darwinssl.c hostcheck.c                         \
-  bundles.c conncache.c
+CSOURCES = \
+  curl_amigaos.c \
+  curl_asyn_ares.c \
+  curl_asyn_thread.c \
+  curl_axtls.c \
+  curl_base64.c \
+  curl_bundles.c \
+  curl_conncache.c \
+  curl_connect.c \
+  curl_content_encoding.c \
+  curl_cookie.c \
+  curl_addrinfo.c \
+  curl_darwinssl.c \
+  curl_fnmatch.c \
+  curl_gethostname.c \
+  curl_gssapi.c \
+  curl_memrchr.c \
+  curl_multibyte.c \
+  curl_ntlm.c \
+  curl_ntlm_core.c \
+  curl_ntlm_msgs.c \
+  curl_ntlm_wb.c \
+  curl_rand.c \
+  curl_rtmp.c \
+  curl_sasl.c \
+  curl_schannel.c \
+  curl_sspi.c \
+  curl_threads.c \
+  curl_cyassl.c \
+  curl_dict.c \
+  curl_easy.c \
+  curl_escape.c \
+  curl_file.c \
+  curl_fileinfo.c \
+  curl_formdata.c \
+  curl_ftp.c \
+  curl_ftplistparser.c \
+  curl_getenv.c \
+  curl_getinfo.c \
+  curl_gopher.c \
+  curl_gtls.c \
+  curl_hash.c \
+  curl_hmac.c \
+  curl_hostasyn.c \
+  curl_hostcheck.c \
+  curl_hostip.c \
+  curl_hostip4.c \
+  curl_hostip6.c \
+  curl_hostsyn.c \
+  curl_http.c \
+  curl_http_chunks.c \
+  curl_http_digest.c \
+  curl_http_negotiate.c \
+  curl_http_negotiate_sspi.c \
+  curl_http_proxy.c \
+  curl_idn_win32.c \
+  curl_if2ip.c \
+  curl_imap.c \
+  curl_inet_ntop.c \
+  curl_inet_pton.c \
+  curl_krb4.c \
+  curl_krb5.c \
+  curl_ldap.c \
+  curl_llist.c \
+  curl_md4.c \
+  curl_md5.c \
+  curl_memdebug.c \
+  curl_mprintf.c \
+  curl_multi.c \
+  curl_netrc.c \
+  curl_non_ascii.c \
+  curl_nonblock.c \
+  curl_nss.c \
+  curl_openldap.c \
+  curl_parsedate.c \
+  curl_pingpong.c \
+  curl_polarssl.c \
+  curl_pop3.c \
+  curl_progress.c \
+  curl_qssl.c \
+  curl_rawstr.c \
+  curl_rtsp.c \
+  curl_security.c \
+  curl_select.c \
+  curl_sendf.c \
+  curl_share.c \
+  curl_slist.c \
+  curl_smtp.c \
+  curl_socks.c \
+  curl_socks_gssapi.c \
+  curl_socks_sspi.c \
+  curl_speedcheck.c \
+  curl_splay.c \
+  curl_ssh.c \
+  curl_sslgen.c \
+  curl_ssluse.c \
+  curl_strdup.c \
+  curl_strequal.c \
+  curl_strerror.c \
+  curl_strtok.c \
+  curl_strtoofft.c \
+  curl_telnet.c \
+  curl_tftp.c \
+  curl_timeval.c \
+  curl_transfer.c \
+  curl_url.c \
+  curl_version.c \
+  curl_warnless.c \
+  curl_wildcard.c
 
 HHEADERS = \
   curl_addrinfo.h \
@@ -79,7 +169,7 @@ HHEADERS = \
   curl_multibyte.h \
   curl_multiif.h \
   curl_netrc.h \
-  curl_non-ascii.h \
+  curl_non_ascii.h \
   curl_nonblock.h \
   curl_nssg.h \
   curl_ntlm.h \
index a8e7741..99a158f 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___\r
 #                             \___|\___/|_| \_\_____|\r
 #\r
-# Copyright (C) 1999 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.\r
+# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.\r
 #\r
 # This software is licensed as described in the file COPYING, which\r
 # you should have received as part of this distribution. The terms\r
@@ -494,14 +494,14 @@ clean:
 # A config was provided, so the library can be built.\r
 #\r
 X_OBJS= \\r
-       $(DIROBJ)\asyn-ares.obj \\r
-       $(DIROBJ)\asyn-thread.obj \\r
-       $(DIROBJ)\base64.obj \\r
-       $(DIROBJ)\bundles.obj \\r
-       $(DIROBJ)\conncache.obj \\r
-       $(DIROBJ)\connect.obj \\r
-       $(DIROBJ)\content_encoding.obj \\r
-       $(DIROBJ)\cookie.obj \\r
+       $(DIROBJ)\curl_asyn_ares.obj \\r
+       $(DIROBJ)\curl_asyn_thread.obj \\r
+       $(DIROBJ)\curl_base64.obj \\r
+       $(DIROBJ)\curl_bundles.obj \\r
+       $(DIROBJ)\curl_conncache.obj \\r
+       $(DIROBJ)\curl_connect.obj \\r
+       $(DIROBJ)\curl_content_encoding.obj \\r
+       $(DIROBJ)\curl_cookie.obj \\r
        $(DIROBJ)\curl_addrinfo.obj \\r
        $(DIROBJ)\curl_darwinssl.obj \\r
        $(DIROBJ)\curl_fnmatch.obj \\r
@@ -518,78 +518,78 @@ X_OBJS= \
        $(DIROBJ)\curl_schannel.obj \\r
        $(DIROBJ)\curl_sspi.obj \\r
        $(DIROBJ)\curl_threads.obj \\r
-       $(DIROBJ)\dict.obj \\r
-       $(DIROBJ)\easy.obj \\r
-       $(DIROBJ)\escape.obj \\r
-       $(DIROBJ)\file.obj \\r
-       $(DIROBJ)\fileinfo.obj \\r
-       $(DIROBJ)\formdata.obj \\r
-       $(DIROBJ)\ftp.obj \\r
-       $(DIROBJ)\ftplistparser.obj \\r
-       $(DIROBJ)\getenv.obj \\r
-       $(DIROBJ)\getinfo.obj \\r
-       $(DIROBJ)\gopher.obj \\r
-       $(DIROBJ)\gtls.obj \\r
-       $(DIROBJ)\hash.obj \\r
-       $(DIROBJ)\hmac.obj \\r
-       $(DIROBJ)\hostasyn.obj \\r
-       $(DIROBJ)\hostcheck.obj \\r
-       $(DIROBJ)\hostip.obj \\r
-       $(DIROBJ)\hostip4.obj \\r
-       $(DIROBJ)\hostip6.obj \\r
-       $(DIROBJ)\hostsyn.obj \\r
-       $(DIROBJ)\http.obj \\r
-       $(DIROBJ)\http_chunks.obj \\r
-       $(DIROBJ)\http_digest.obj \\r
-       $(DIROBJ)\http_negotiate.obj \\r
-       $(DIROBJ)\http_negotiate_sspi.obj \\r
-       $(DIROBJ)\http_proxy.obj \\r
-       $(DIROBJ)\if2ip.obj \\r
-       $(DIROBJ)\imap.obj \\r
-       $(DIROBJ)\inet_ntop.obj \\r
-       $(DIROBJ)\inet_pton.obj \\r
-       $(DIROBJ)\ldap.obj \\r
-       $(DIROBJ)\llist.obj \\r
-       $(DIROBJ)\md4.obj \\r
-       $(DIROBJ)\md5.obj \\r
-       $(DIROBJ)\memdebug.obj \\r
-       $(DIROBJ)\mprintf.obj \\r
-       $(DIROBJ)\multi.obj \\r
-       $(DIROBJ)\netrc.obj \\r
-       $(DIROBJ)\nonblock.obj \\r
-       $(DIROBJ)\openldap.obj \\r
-       $(DIROBJ)\parsedate.obj \\r
-       $(DIROBJ)\pingpong.obj \\r
-       $(DIROBJ)\polarssl.obj \\r
-       $(DIROBJ)\pop3.obj \\r
-       $(DIROBJ)\progress.obj \\r
-       $(DIROBJ)\rawstr.obj \\r
-       $(DIROBJ)\rtsp.obj \\r
-       $(DIROBJ)\select.obj \\r
-       $(DIROBJ)\sendf.obj \\r
-       $(DIROBJ)\share.obj \\r
-       $(DIROBJ)\slist.obj \\r
-       $(DIROBJ)\smtp.obj \\r
-       $(DIROBJ)\socks.obj \\r
-       $(DIROBJ)\socks_gssapi.obj \\r
-       $(DIROBJ)\socks_sspi.obj \\r
-       $(DIROBJ)\speedcheck.obj \\r
-       $(DIROBJ)\splay.obj \\r
-       $(DIROBJ)\ssh.obj \\r
-       $(DIROBJ)\sslgen.obj \\r
-       $(DIROBJ)\ssluse.obj \\r
-       $(DIROBJ)\strequal.obj \\r
-       $(DIROBJ)\strerror.obj \\r
-       $(DIROBJ)\strtok.obj \\r
-       $(DIROBJ)\strtoofft.obj \\r
-       $(DIROBJ)\telnet.obj \\r
-       $(DIROBJ)\tftp.obj \\r
-       $(DIROBJ)\timeval.obj \\r
-       $(DIROBJ)\transfer.obj \\r
-       $(DIROBJ)\url.obj \\r
-       $(DIROBJ)\version.obj \\r
-       $(DIROBJ)\warnless.obj \\r
-       $(DIROBJ)\wildcard.obj \\r
+       $(DIROBJ)\curl_dict.obj \\r
+       $(DIROBJ)\curl_easy.obj \\r
+       $(DIROBJ)\curl_escape.obj \\r
+       $(DIROBJ)\curl_file.obj \\r
+       $(DIROBJ)\curl_fileinfo.obj \\r
+       $(DIROBJ)\curl_formdata.obj \\r
+       $(DIROBJ)\curl_ftp.obj \\r
+       $(DIROBJ)\curl_ftplistparser.obj \\r
+       $(DIROBJ)\curl_getenv.obj \\r
+       $(DIROBJ)\curl_getinfo.obj \\r
+       $(DIROBJ)\curl_gopher.obj \\r
+       $(DIROBJ)\curl_gtls.obj \\r
+       $(DIROBJ)\curl_hash.obj \\r
+       $(DIROBJ)\curl_hmac.obj \\r
+       $(DIROBJ)\curl_hostasyn.obj \\r
+       $(DIROBJ)\curl_hostcheck.obj \\r
+       $(DIROBJ)\curl_hostip.obj \\r
+       $(DIROBJ)\curl_hostip4.obj \\r
+       $(DIROBJ)\curl_hostip6.obj \\r
+       $(DIROBJ)\curl_hostsyn.obj \\r
+       $(DIROBJ)\curl_http.obj \\r
+       $(DIROBJ)\curl_http_chunks.obj \\r
+       $(DIROBJ)\curl_http_digest.obj \\r
+       $(DIROBJ)\curl_http_negotiate.obj \\r
+       $(DIROBJ)\curl_http_negotiate_sspi.obj \\r
+       $(DIROBJ)\curl_http_proxy.obj \\r
+       $(DIROBJ)\curl_if2ip.obj \\r
+       $(DIROBJ)\curl_imap.obj \\r
+       $(DIROBJ)\curl_inet_ntop.obj \\r
+       $(DIROBJ)\curl_inet_pton.obj \\r
+       $(DIROBJ)\curl_ldap.obj \\r
+       $(DIROBJ)\curl_llist.obj \\r
+       $(DIROBJ)\curl_md4.obj \\r
+       $(DIROBJ)\curl_md5.obj \\r
+       $(DIROBJ)\curl_memdebug.obj \\r
+       $(DIROBJ)\curl_mprintf.obj \\r
+       $(DIROBJ)\curl_multi.obj \\r
+       $(DIROBJ)\curl_netrc.obj \\r
+       $(DIROBJ)\curl_nonblock.obj \\r
+       $(DIROBJ)\curl_openldap.obj \\r
+       $(DIROBJ)\curl_parsedate.obj \\r
+       $(DIROBJ)\curl_pingpong.obj \\r
+       $(DIROBJ)\curl_polarssl.obj \\r
+       $(DIROBJ)\curl_pop3.obj \\r
+       $(DIROBJ)\curl_progress.obj \\r
+       $(DIROBJ)\curl_rawstr.obj \\r
+       $(DIROBJ)\curl_rtsp.obj \\r
+       $(DIROBJ)\curl_select.obj \\r
+       $(DIROBJ)\curl_sendf.obj \\r
+       $(DIROBJ)\curl_share.obj \\r
+       $(DIROBJ)\curl_slist.obj \\r
+       $(DIROBJ)\curl_smtp.obj \\r
+       $(DIROBJ)\curl_socks.obj \\r
+       $(DIROBJ)\curl_socks_gssapi.obj \\r
+       $(DIROBJ)\curl_socks_sspi.obj \\r
+       $(DIROBJ)\curl_speedcheck.obj \\r
+       $(DIROBJ)\curl_splay.obj \\r
+       $(DIROBJ)\curl_ssh.obj \\r
+       $(DIROBJ)\curl_sslgen.obj \\r
+       $(DIROBJ)\curl_ssluse.obj \\r
+       $(DIROBJ)\curl_strequal.obj \\r
+       $(DIROBJ)\curl_strerror.obj \\r
+       $(DIROBJ)\curl_strtok.obj \\r
+       $(DIROBJ)\curl_strtoofft.obj \\r
+       $(DIROBJ)\curl_telnet.obj \\r
+       $(DIROBJ)\curl_tftp.obj \\r
+       $(DIROBJ)\curl_timeval.obj \\r
+       $(DIROBJ)\curl_transfer.obj \\r
+       $(DIROBJ)\curl_url.obj \\r
+       $(DIROBJ)\curl_version.obj \\r
+       $(DIROBJ)\curl_warnless.obj \\r
+       $(DIROBJ)\curl_wildcard.obj \\r
        $(RESOURCE)\r
 \r
 all : $(TARGET)\r
index 5375b0d..6d6e29e 100644 (file)
@@ -19,7 +19,7 @@ We provide them through a single header file for easy access for apps:
 
    A macro that converts a string containing a number to a curl_off_t number.
    This might use the curlx_strtoll() function which is provided as source
-   code in strtoofft.c. Note that the function is only provided if no
+   code in curl_strtoofft.c. Note that the function is only provided if no
    strtoll() (or equivalent) function exist on your platform. If curl_off_t
    is only a 32 bit number on your platform, this macro uses strtol().
 
index a87dab4..8901871 100644 (file)
@@ -1,7 +1,7 @@
- hostip.c explained
curl_hostip.c explained
  ==================
 
- The main COMPILE-TIME DEFINES to keep in mind when reading the host*.c
+ The main COMPILE-TIME DEFINES to keep in mind when reading the curl_host*.c
  source file are these:
 
  CURLRES_IPV6 - this host has getaddrinfo() and family, and thus we use
  libcurl is not built to use an asynchronous resolver, CURLRES_SYNCH is
  defined.
 
- The host*.c sources files are split up like this:
+ The curl_host*.c sources files are split up like this:
 
- hostip.c   - method-independent resolver functions and utility functions
- hostasyn.c - functions for asynchronous name resolves
- hostsyn.c  - functions for synchronous name resolves
- hostares.c - functions for ares-using name resolves
- hostthre.c - functions for threaded name resolves
- hostip4.c  - ipv4-specific functions
- hostip6.c  - ipv6-specific functions
curl_hostip.c   - method-independent resolver functions and utility functions
curl_hostasyn.c - functions for asynchronous name resolves
curl_hostsyn.c  - functions for synchronous name resolves
curl_hostares.c - functions for ares-using name resolves
curl_hostthre.c - functions for threaded name resolves
curl_hostip4.c  - ipv4-specific functions
curl_hostip6.c  - ipv6-specific functions
 
  The curl_hostip.h is the single united header file for all this. It defines
  the CURLRES_* defines based on the config*.h and curl_setup.h defines.
index 3a29cc2..8bd606a 100644 (file)
@@ -5,8 +5,8 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2010, DirecTV
- * contact: Eric Hu <ehu@directv.com>
+ * Copyright (C) 2010, DirecTV * contact: Eric Hu <ehu@directv.com>
+ * Copyright (C) 2010 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
 
 /*
  * Source file for all axTLS-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  */
 
 #include "curl_setup.h"
@@ -199,7 +199,7 @@ Curl_axtls_connect(struct connectdata *conn,
       infof(data, "found certificates in %s\n", data->set.ssl.CAfile);
   }
 
-  /* gtls.c tasks we're skipping for now:
+  /* curl_gtls.c tasks we're skipping for now:
    * 1) certificate revocation list checking
    * 2) dns name assignment to host
    * 3) set protocol priority.  axTLS is TLSv1 only, so can probably ignore
@@ -255,7 +255,7 @@ Curl_axtls_connect(struct connectdata *conn,
     }
   }
 
-  /* gtls.c does more here that is being left out for now
+  /* curl_gtls.c does more here that is being left out for now
    * 1) set session credentials.  can probably ignore since axtls puts this
    *    info in the ssl_ctx struct
    * 2) setting up callbacks.  these seem gnutls specific
@@ -280,7 +280,7 @@ Curl_axtls_connect(struct connectdata *conn,
   }
   infof (data, "handshake completed successfully\n");
 
-  /* Here, gtls.c gets the peer certificates and fails out depending on
+  /* Here, curl_gtls.c gets the peer certificates and fails out depending on
    * settings in "data."  axTLS api doesn't have get cert chain fcn, so omit?
    */
 
@@ -295,10 +295,10 @@ Curl_axtls_connect(struct connectdata *conn,
   else
     infof(data, "\t server certificate verification SKIPPED\n");
 
-  /* Here, gtls.c does issuer verification. axTLS has no straightforward
+  /* Here, curl_gtls.c does issuer verification. axTLS has no straightforward
    * equivalent, so omitting for now.*/
 
-  /* Here, gtls.c does the following
+  /* Here, curl_gtls.c does the following
    * 1) x509 hostname checking per RFC2818.  axTLS doesn't support this, but
    *    it seems useful. This is now implemented, by Oscar Koeroo
    * 2) checks cert validity based on time.  axTLS does this in ssl_verify_cert
@@ -408,10 +408,10 @@ void Curl_axtls_close(struct connectdata *conn, int sockindex)
 
   infof(conn->data, "  Curl_axtls_close\n");
   if(connssl->ssl) {
-    /* line from ssluse.c: (void)SSL_shutdown(connssl->ssl);
+    /* line from curl_ssluse.c: (void)SSL_shutdown(connssl->ssl);
        axTLS compat layer does nothing for SSL_shutdown */
 
-    /* The following line is from ssluse.c.  There seems to be no axTLS
+    /* The following line is from curl_ssluse.c.  There seems to be no axTLS
        equivalent.  ssl_free and ssl_ctx_free close things.
        SSL_set_connect_state(connssl->handle); */
 
@@ -430,8 +430,9 @@ void Curl_axtls_close(struct connectdata *conn, int sockindex)
  */
 int Curl_axtls_shutdown(struct connectdata *conn, int sockindex)
 {
-  /* Outline taken from ssluse.c since functions are in axTLS compat layer.
-     axTLS's error set is much smaller, so a lot of error-handling was removed.
+  /* Outline taken from curl_ssluse.c since functions are in axTLS compat
+     layer.  axTLS's error set is much smaller, so a lot of error-handling
+     was removed.
    */
   int retval = 0;
   struct ssl_connect_data *connssl = &conn->ssl[sockindex];
@@ -521,7 +522,8 @@ static ssize_t axtls_recv(struct connectdata *conn, /* connection data */
  */
 int Curl_axtls_check_cxn(struct connectdata *conn)
 {
-  /* ssluse.c line: rc = SSL_peek(conn->ssl[FIRSTSOCKET].ssl, (void*)&buf, 1);
+  /* curl_ssluse.c line:
+     rc = SSL_peek(conn->ssl[FIRSTSOCKET].ssl, (void*)&buf, 1);
      axTLS compat layer always returns the last argument, so connection is
      always alive? */
 
@@ -533,8 +535,8 @@ void Curl_axtls_session_free(void *ptr)
 {
   (void)ptr;
   /* free the ID */
-  /* both ssluse.c and gtls.c do something here, but axTLS's OpenSSL
-     compatibility layer does nothing, so we do nothing too. */
+  /* both curl_ssluse.c and curl_gtls.c do something here, but axTLS's
+     OpenSSL compatibility layer does nothing, so we do nothing too. */
 }
 
 size_t Curl_axtls_version(char *buffer, size_t size)
index 3b90ee1..45c7a95 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -31,7 +31,7 @@
 #include "curl_warnless.h"
 #include "curl_base64.h"
 #include "curl_memory.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 
 /* include curl_memdebug.h last */
 #include "curl_memdebug.h"
index 6cf7076..c2d5832 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -482,8 +482,8 @@ Curl_addrinfo *Curl_str2addr(char *address, int port)
  * curl_dofreeaddrinfo()
  *
  * This is strictly for memory tracing and are using the same style as the
- * family otherwise present in memdebug.c. I put these ones here since they
- * require a bunch of structs I didn't want to include in memdebug.c
+ * family otherwise present in curl_memdebug.c. I put these ones here since
+ * they require a bunch of structs I didn't want to include there.
  */
 
 void
@@ -502,8 +502,8 @@ curl_dofreeaddrinfo(struct addrinfo *freethis,
  * curl_dogetaddrinfo()
  *
  * This is strictly for memory tracing and are using the same style as the
- * family otherwise present in memdebug.c. I put these ones here since they
- * require a bunch of structs I didn't want to include in memdebug.c
+ * family otherwise present in curl_memdebug.c. I put these ones here since
+ * they require a bunch of structs I didn't want to include there.
  */
 
 int
index 1b681ea..1167a31 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -34,8 +34,8 @@ struct Curl_dns_entry;
 /*
  * This header defines all functions in the internal asynch resolver interface.
  * All asynch resolvers need to provide these functions.
- * asyn-ares.c and asyn-thread.c are the current implementations of asynch
- * resolver backends.
+ * curl_asyn_ares.c and curl_asyn_thread.c are the current implementations of
+ * asynch resolver backends.
  */
 
 /*
index 04067d1..b919c16 100644 (file)
@@ -6,7 +6,7 @@
  *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2012, Nick Zitzmann, <nickzman@gmail.com>.
- * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -23,7 +23,8 @@
 
 /*
  * Source file for all iOS and Mac OS X SecureTransport-specific code for the
- * TLS/SSL layer. No code but sslgen.c should ever call or use these functions.
+ * TLS/SSL layer. No code but curl_sslgen.c should ever call or use these
+ * functions.
  */
 
 #include "curl_setup.h"
index 1f52168..ed744db 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
  ***************************************************************************/
 
 /*
- * Prototypes for library-wide functions provided by easy.c
+ * Prototypes for library-wide functions provided by curl_easy.c
  */
 void Curl_easy_addmulti(struct SessionHandle *data, void *multi);
 
index 6b75ac9..7e50267 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -79,7 +79,7 @@ typedef enum {
   FTP_LAST  /* never used */
 } ftpstate;
 
-struct ftp_parselist_data; /* defined later in ftplistparser.c */
+struct ftp_parselist_data; /* defined later in curl_ftplistparser.c */
 
 struct ftp_wc_tmpdata {
   struct ftp_parselist_data *parser;
@@ -146,7 +146,7 @@ struct ftp_conn {
   int count1; /* general purpose counter for the state machine */
   int count2; /* general purpose counter for the state machine */
   int count3; /* general purpose counter for the state machine */
-  ftpstate state; /* always use ftp.c:state() to change state! */
+  ftpstate state; /* always use curl_ftp.c:state() to change state! */
   ftpstate state_saved; /* transfer type saved to be reloaded after
                            data connection is established */
   curl_off_t retr_size_saved; /* Size of retrieved file saved */
index fb32d74..30c738d 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -187,7 +187,7 @@ Curl_cache_addr(struct SessionHandle *data, Curl_addrinfo *addr,
 #endif
 
 #ifdef HAVE_SIGSETJMP
-/* Forward-declaration of variable defined in hostip.c. Beware this
+/* Forward-declaration of variable defined in curl_hostip.c. Beware this
  * is a global and unique instance. This is used to store the return
  * address that we can jump back to from inside a signal handler.
  * This is not thread-safe stuff.
index 7236dd8..f654689 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -67,12 +67,12 @@ CURLcode Curl_http(struct connectdata *conn, bool *done);
 CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature);
 CURLcode Curl_http_connect(struct connectdata *conn, bool *done);
 
-/* The following functions are defined in http_chunks.c */
+/* The following functions are defined in curl_http_chunks.c */
 void Curl_httpchunk_init(struct connectdata *conn);
 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
                               ssize_t length, ssize_t *wrote);
 
-/* These functions are in http.c */
+/* These functions are in curl_http.c */
 void Curl_http_auth_stage(struct SessionHandle *data, int stage);
 CURLcode Curl_http_input_auth(struct connectdata *conn,
                               int httpcode, const char *header);
index ba6fe93..62fb126 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2009 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -46,7 +46,7 @@ typedef enum {
 struct imap_conn {
   struct pingpong pp;
   char *mailbox;     /* Message ID to fetch */
-  imapstate state;   /* Always use imap.c:state() to change state! */
+  imapstate state;   /* Always use curl_imap.c:state() to change state! */
   int cmdid;         /* Next command ID */
   const char *idstr; /* String based response ID to wait for */
   bool ssldone;      /* Is connect() over SSL done? Only relevant in
index c84b618..6e5881e 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
  ***************************************************************************/
 
 /*
- * Prototypes for library-wide functions provided by multi.c
+ * Prototypes for library-wide functions provided by curl_multi.c
  */
 void Curl_expire(struct SessionHandle *data, long milli);
 
index c98c37f..3ba75d3 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -25,7 +25,8 @@
 
 #ifdef USE_NSS
 /*
- * This header should only be needed to get included by sslgen.c and nss.c
+ * This header should only be needed to get included by curl_sslgen.c and
+ * curl_nss.c
  */
 
 #include "curl_urldata.h"
index ebd6e30..9c1fdf9 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -92,7 +92,7 @@
 #endif
 
 #include "curl_urldata.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_rawstr.h"
 #include "curl_memory.h"
 #include "curl_ntlm_core.h"
index e625a06..18a7304 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -34,7 +34,7 @@
 #define DEBUG_ME 0
 
 #include "curl_urldata.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_sendf.h"
 #include "curl_base64.h"
 #include "curl_ntlm_core.h"
index 1b68599..62b88fd 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2009 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -62,7 +62,7 @@ struct pop3_conn {
   unsigned int authmechs; /* Accepted SASL authentication mechanisms */
   unsigned int authused;  /* SASL auth mechanism used for the connection */
   char *apoptimestamp;    /* APOP timestamp from the server greeting */
-  pop3state state;        /* Always use pop3.c:state() to change state! */
+  pop3state state;        /* Always use curl_pop3.c:state() to change state */
 };
 
 extern const struct Curl_handler Curl_handler_pop3;
index 3801a11..3a7cc50 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -24,7 +24,8 @@
 #include "curl_setup.h"
 
 /*
- * This header should only be needed to get included by sslgen.c and qssl.c
+ * This header should only be needed to get included by curl_sslgen.c and
+ * curl_qssl.c
  */
 
 #include "curl_urldata.h"
index 3bbebec..06095d7 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (C) 2012, Marc Hoersken, <info@marc-hoersken.de>, et al.
  * Copyright (C) 2012, Mark Salisbury, <mark.salisbury@hp.com>
- * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -24,7 +24,7 @@
 
 /*
  * Source file for all SChannel-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  *
  */
 
index 7a3ced5..d92547c 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2009 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -62,7 +62,7 @@ struct smtp_conn {
                               have been received so far */
   unsigned int authmechs;  /* Accepted authentication mechanisms */
   unsigned int authused;   /* Auth mechanism used for the connection */
-  smtpstate state;         /* Always use smtp.c:state() to change state! */
+  smtpstate state;         /* Always use curl_smtp.c:state() to change */
   struct curl_slist *rcpt; /* Recipient list */
   bool ssldone;            /* Is connect() over SSL done? Only relevant in
                               multi mode */
index ff2e16b..c7f1a9c 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -111,7 +111,7 @@ struct ssh_conn {
   char *rsa_pub;              /* path name */
   char *rsa;                  /* path name */
   bool authed;                /* the connection has been authenticated fine */
-  sshstate state;             /* always use ssh.c:state() to change state! */
+  sshstate state;             /* always use curl_ssh.c:state() to change */
   sshstate nextstate;         /* the state to goto after stopping */
   CURLcode actualcode;        /* the actual error code */
   struct curl_slist *quote_item; /* for the quote option */
index 42e999e..669be57 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -26,7 +26,8 @@
 
 #ifdef USE_SSLEAY
 /*
- * This header should only be needed to get included by sslgen.c and ssluse.c
+ * This header should only be needed to get included by curl_sslgen.c and
+ * curl_ssluse.c
  */
 
 #include "curl_urldata.h"
index a026e90..cc113ab 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -24,7 +24,7 @@
 #include "curl_setup.h"
 
 /*
- * Prototypes for library-wide functions provided by url.c
+ * Prototypes for library-wide functions provided by curl_url.c
  */
 
 CURLcode Curl_open(struct SessionHandle **curl);
index d5d1859..d9edee0 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -664,7 +664,7 @@ struct SingleRequest {
 
   bool forbidchunk;   /* used only to explicitly forbid chunk-upload for
                          specific upload buffers. See readmoredata() in
-                         http.c for details. */
+                         curl_http.c for details. */
 };
 
 /*
@@ -731,8 +731,8 @@ struct Curl_handler {
    */
   CURLcode (*disconnect)(struct connectdata *, bool dead_connection);
 
-  /* If used, this function gets called from transfer.c:readwrite_data() to
-     allow the protocol to do extra reads/writes */
+  /* If used, this function gets called from curl_transfer.c:readwrite_data()
+     to allow the protocol to do extra reads/writes */
   CURLcode (*readwrite)(struct SessionHandle *data, struct connectdata *conn,
                         ssize_t *nread, bool *readmore);
 
@@ -1276,7 +1276,7 @@ struct UrlState {
     struct FTP *ftp;
     /* void *tftp;    not used */
     struct FILEPROTO *file;
-    void *telnet;        /* private for telnet.c-eyes only */
+    void *telnet;        /* private for curl_telnet.c-eyes only */
     void *generic;
     struct SSHPROTO *ssh;
     struct FTP *imap;
@@ -1317,8 +1317,8 @@ struct DynamicStatic {
  * the 'DynamicStatic' struct.
  * Character pointer fields point to dynamic storage, unless otherwise stated.
  */
-struct Curl_one_easy; /* declared and used only in multi.c */
-struct Curl_multi;    /* declared and used only in multi.c */
+struct Curl_one_easy; /* declared and used only in curl_multi.c */
+struct Curl_multi;    /* declared and used only in curl_multi.c */
 
 enum dupstring {
   STRING_CERT,            /* client certificate file name */
index a2f941e..32f1cfe 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -22,7 +22,7 @@
 
 /*
  * Source file for all CyaSSL-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  *
  */
 
index b4f0390..a2181cc 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -62,7 +62,7 @@
 #include "curl_slist.h"
 #include "curl_amigaos.h"
 #include "curl_rand.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_warnless.h"
 #include "curl_conncache.h"
 
index 1d54261..c0ed571 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -30,7 +30,7 @@
 #include "curl_memory.h"
 #include "curl_urldata.h"
 #include "curl_warnless.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_escape.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
index 6b71663..c7d85c4 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -857,8 +857,8 @@ static CURLcode AddFormDataf(struct FormData **formp,
 }
 
 /*
- * Curl_formclean() is used from http.c, this cleans a built FormData linked
- * list
+ * Curl_formclean() is used from curl_http.c, this cleans a built FormData
+ * linked list
  */
 void Curl_formclean(struct FormData **form_ptr)
 {
index d9f933f..653e30b 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -80,7 +80,7 @@
 #include "curl_speedcheck.h"
 #include "curl_warnless.h"
 #include "curl_http_proxy.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
@@ -3109,7 +3109,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
 }
 
 
-/* called repeatedly until done from multi.c */
+/* called repeatedly until done from curl_multi.c */
 static CURLcode ftp_multi_statemach(struct connectdata *conn,
                                     bool *done)
 {
@@ -4461,7 +4461,7 @@ static CURLcode ftp_dophase_done(struct connectdata *conn,
   return CURLE_OK;
 }
 
-/* called from multi.c while DOing */
+/* called from curl_multi.c while DOing */
 static CURLcode ftp_doing(struct connectdata *conn,
                           bool *dophase_done)
 {
index 4e22541..5c9d165 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -22,7 +22,7 @@
 
 /*
  * Source file for all GnuTLS-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  *
  * Note: don't use the GnuTLS' *_t variable type names in this source code,
  * since they were not present in 1.0.X.
index 5ba76d3..7cc51f8 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
 #endif
 
 /*
- * hostip.c explained
- * ==================
+ * curl_hostip.c explained
+ * =======================
  *
- * The main COMPILE-TIME DEFINES to keep in mind when reading the host*.c
+ * The main COMPILE-TIME DEFINES to keep in mind when reading the curl_host*.c
  * source file are these:
  *
  * CURLRES_IPV6 - this host has getaddrinfo() and family, and thus we use
  * libcurl is not built to use an asynchronous resolver, CURLRES_SYNCH is
  * defined.
  *
- * The host*.c sources files are split up like this:
+ * The curl_host*.c sources files are split up like this:
  *
- * hostip.c   - method-independent resolver functions and utility functions
- * hostasyn.c - functions for asynchronous name resolves
- * hostsyn.c  - functions for synchronous name resolves
- * hostip4.c  - ipv4-specific functions
- * hostip6.c  - ipv6-specific functions
+ * curl_hostip.c   - method-independent resolver and utility functions
+ * curl_hostasyn.c - functions for asynchronous name resolves
+ * curl_hostsyn.c  - functions for synchronous name resolves
+ * curl_hostip4.c  - ipv4-specific functions
+ * curl_hostip6.c  - ipv6-specific functions
  *
  * The two asynchronous name resolver backends are implemented in:
- * asyn-ares.c   - functions for ares-using name resolves
- * asyn-thread.c - functions for threaded name resolves
+ * curl_asyn_ares.c   - functions for ares-using name resolves
+ * curl_asyn_thread.c - functions for threaded name resolves
 
  * The curl_hostip.h is the united header file for all this. It defines the
  * CURLRES_* defines based on the config*.h and curl_setup.h defines.
index 0081df7..cfd6081 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -65,8 +65,8 @@
 
 #if defined(CURLDEBUG) && defined(HAVE_GETNAMEINFO)
 /* These are strictly for memory tracing and are using the same style as the
- * family otherwise present in memdebug.c. I put these ones here since they
- * require a bunch of structs I didn't want to include in memdebug.c
+ * family otherwise present in curl_memdebug.c. I put these ones here since
+ * they require a bunch of structs I didn't want to include there.
  */
 
 /*
index 4f4469c..420361c 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -72,7 +72,7 @@
 #include "curl_content_encoding.h"
 #include "curl_http_proxy.h"
 #include "curl_warnless.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
@@ -679,8 +679,8 @@ Curl_http_output_auth(struct connectdata *conn,
 
 /*
  * Curl_http_input_auth() deals with Proxy-Authenticate: and WWW-Authenticate:
- * headers. They are dealt with both in the transfer.c main loop and in the
- * proxy CONNECT loop.
+ * headers. They are dealt with both in the curl_transfer.c main loop and in
+ * the proxy CONNECT loop.
  */
 
 CURLcode Curl_http_input_auth(struct connectdata *conn,
@@ -936,7 +936,7 @@ static int http_should_fail(struct connectdata *conn)
  * readmoredata() is a "fread() emulation" to provide POST and/or request
  * data. It is used when a huge POST is to be made and the entire chunk wasn't
  * sent in the first send(). This function will then be called from the
- * transfer.c loop when more data is to be sent to the peer.
+ * curl_transfer.c loop when more data is to be sent to the peer.
  *
  * Returns the amount of bytes it filled the buffer with.
  */
@@ -1536,7 +1536,7 @@ CURLcode Curl_add_custom_headers(struct connectdata *conn,
            checkprefix("Host:", headers->data))
           ;
         else if(conn->data->set.httpreq == HTTPREQ_POST_FORM &&
-                /* this header (extended by formdata.c) is sent later */
+                /* this header (extended by curl_formdata.c) is sent later */
                 checkprefix("Content-Type:", headers->data))
           ;
         else if(conn->bits.authneg &&
@@ -1728,10 +1728,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
     }
   }
 
-  /* The User-Agent string might have been allocated in url.c already, because
-     it might have been used in the proxy connect, but if we have got a header
-     with the user-agent string specified, we erase the previously made string
-     here. */
+  /* The User-Agent string might have been allocated in curl_url.c already,
+     because it might have been used in the proxy connect, but if we have
+     got a header with the user-agent string specified, we erase the
+     previously made string here. */
   if(Curl_checkheaders(data, "User-Agent:") && conn->allocptr.uagent) {
     free(conn->allocptr.uagent);
     conn->allocptr.uagent=NULL;
index 050501b..2112f72 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -30,7 +30,7 @@
 #include "curl_content_encoding.h"
 #include "curl_http.h"
 #include "curl_memory.h"
-#include "curl_non-ascii.h" /* for Curl_convert_to_network prototype */
+#include "curl_non_ascii.h" /* for Curl_convert_to_network prototype */
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
@@ -315,7 +315,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
         }
       }
       else {
-        /* conn->trailer is assumed to be freed in url.c on a
+        /* conn->trailer is assumed to be freed in curl_url.c on a
            connection basis */
         if(conn->trlPos >= conn->trlMax) {
           /* we always allocate three extra bytes, just because when the full
index d835eb2..dae6799 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -33,7 +33,7 @@
 #include "curl_strtok.h"
 #include "curl_url.h"
 #include "curl_memory.h"
-#include "curl_non-ascii.h" /* included for Curl_convert_... prototypes */
+#include "curl_non_ascii.h" /* included for Curl_convert_... prototypes */
 #include "curl_warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
index 6bbc926..14ef9dc 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -33,7 +33,7 @@
 #include "curl_select.h"
 #include "curl_rawstr.h"
 #include "curl_progress.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_connect.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
index 4a552bc..8175daa 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -718,7 +718,7 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
   return result;
 }
 
-/* Called repeatedly until done from multi.c */
+/* Called repeatedly until done from curl_multi.c */
 static CURLcode imap_multi_statemach(struct connectdata *conn,
                                          bool *done)
 {
@@ -1045,7 +1045,7 @@ static CURLcode imap_dophase_done(struct connectdata *conn, bool connected)
   return CURLE_OK;
 }
 
-/* Called from multi.c while DOing */
+/* Called from curl_multi.c while DOing */
 static CURLcode imap_doing(struct connectdata *conn, bool *dophase_done)
 {
   CURLcode result = imap_multi_statemach(conn, dophase_done);
index f5389c8..d793fef 100644 (file)
@@ -1,8 +1,8 @@
-/* GSSAPI/krb5 support for FTP - loosely based on old krb4.c
+/* GSSAPI/krb5 support for FTP - loosely based on old curl_krb4.c
  *
  * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden).
- * Copyright (c) 2004 - 2012 Daniel Stenberg
+ * Copyright (c) 2004 - 2013 Daniel Stenberg
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
index 76c2984..59f3b83 100644 (file)
@@ -1,11 +1,11 @@
 /***************************************************************************
- *                      _   _ ____  _
- *  Project         ___| | | |  _ \| |
- *                 / __| | | | |_) | |
- *                | (__| |_| |  _ <| |___
- *                 \___|\___/|_| \_\_____|
+ *                                  _   _ ____  _
+ *  Project                     ___| | | |  _ \| |
+ *                             / __| | | | |_) | |
+ *                            | (__| |_| |  _ <| |___
+ *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -27,8 +27,8 @@
 /*
  * Notice that USE_OPENLDAP is only a source code selection switch. When
  * libcurl is built with USE_OPENLDAP defined the libcurl source code that
- * gets compiled is the code from openldap.c, otherwise the code that gets
- * compiled is the code from ldap.c.
+ * gets compiled is the code from curl_openldap.c, otherwise the code that
+ * gets compiled is the code from curl_ldap.c.
  *
  * When USE_OPENLDAP is defined a recent version of the OpenLDAP library
  * might be required for compilation and runtime. In order to use ancient
index cbd604d..35b9f64 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1999 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -73,7 +73,7 @@
 #endif
 
 /*
- * Max integer data types that mprintf.c is capable
+ * Max integer data types that curl_mprintf.c is capable
  */
 
 #ifdef HAVE_LONG_LONG_TYPE
index c4f2162..9553883 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -598,7 +598,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
  *
  * Curl_hash_print(multi->sockhash, debug_print_sock_hash);
  *
- * Enable the hash print function first by editing hash.c
+ * Enable the hash print function first by editing curl_hash.c
  */
 static void debug_print_sock_hash(void *p)
 {
index b966b5b..68b33a9 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -26,7 +26,7 @@
 
 #include <curl/curl.h>
 
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_formdata.h"
 #include "curl_sendf.h"
 #include "curl_urldata.h"
@@ -314,8 +314,8 @@ void Curl_convert_close(struct SessionHandle *data)
 }
 
 /*
- * Curl_convert_form() is used from http.c, this converts any form items that
  need to be sent in the network encoding.  Returns CURLE_OK on success.
+ * Curl_convert_form() is used from curl_http.c, this converts any form items
* that need to be sent in the network encoding.  Returns CURLE_OK on success.
  */
 CURLcode Curl_convert_form(struct SessionHandle *data, struct FormData *form)
 {
index a6829df..15e92a7 100644 (file)
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -22,7 +22,7 @@
 
 /*
  * Source file for all NSS-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  */
 
 #include "curl_setup.h"
index 08c06f1..b10d31e 100644 (file)
@@ -1,12 +1,12 @@
 /***************************************************************************
- *                      _   _ ____  _
- *  Project         ___| | | |  _ \| |
- *                 / __| | | | |_) | |
- *                | (__| |_| |  _ <| |___
- *                 \___|\___/|_| \_\_____|
+ *                                  _   _ ____  _
+ *  Project                     ___| | | |  _ \| |
+ *                             / __| | | | |_) | |
+ *                            | (__| |_| |  _ <| |___
+ *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2010, Howard Chu, <hyc@openldap.org>
- * Copyright (C) 2011 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2011 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -28,8 +28,8 @@
 /*
  * Notice that USE_OPENLDAP is only a source code selection switch. When
  * libcurl is built with USE_OPENLDAP defined the libcurl source code that
- * gets compiled is the code from openldap.c, otherwise the code that gets
- * compiled is the code from ldap.c.
+ * gets compiled is the code from curl_openldap.c, otherwise the code that
+ * gets compiled is the code from curl_ldap.c.
  *
  * When USE_OPENLDAP is defined a recent version of the OpenLDAP library
  * might be required for compilation and runtime. In order to use ancient
index 4681744..d28e78a 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -32,7 +32,7 @@
 #include "curl_speedcheck.h"
 #include "curl_pingpong.h"
 #include "curl_multiif.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
index 3579422..81c7026 100644 (file)
@@ -6,7 +6,7 @@
  *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2010, 2011, Hoi-Ho Chan, <hoiho.chan@gmail.com>
- * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
 
 /*
  * Source file for all PolarSSL-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  *
  */
 
index 9d6c68b..0d157f0 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -1207,7 +1207,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
   return result;
 }
 
-/* Called repeatedly until done from multi.c */
+/* Called repeatedly until done from curl_multi.c */
 static CURLcode pop3_multi_statemach(struct connectdata *conn, bool *done)
 {
   struct pop3_conn *pop3c = &conn->proto.pop3c;
@@ -1547,7 +1547,7 @@ static CURLcode pop3_dophase_done(struct connectdata *conn, bool connected)
   return CURLE_OK;
 }
 
-/* Called from multi.c while DOing */
+/* Called from curl_multi.c while DOing */
 static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done)
 {
   CURLcode result = pop3_multi_statemach(conn, dophase_done);
index 917c6f2..71e434c 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -381,10 +381,10 @@ static CURLcode rtsp_do(struct connectdata *conn, bool *done)
     }
   }
 
-  /* The User-Agent string might have been allocated in url.c already, because
-     it might have been used in the proxy connect, but if we have got a header
-     with the user-agent string specified, we erase the previously made string
-     here. */
+  /* The User-Agent string might have been allocated in curl_url.c already,
+     because it might have been used in the proxy connect, but if we have
+     got a header with the user-agent string specified, we erase the
+     previously made string here. */
   if(Curl_checkheaders(data, "User-Agent:") && conn->allocptr.uagent) {
     Curl_safefree(conn->allocptr.uagent);
     conn->allocptr.uagent = NULL;
index 35f0d0e..a1ec509 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -30,7 +30,7 @@
 #include "curl_sslgen.h"
 #include "curl_ssh.h"
 #include "curl_multiif.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
index 7295e3e..5c4c25c 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -1226,7 +1226,7 @@ static CURLcode smtp_statemach_act(struct connectdata *conn)
   return result;
 }
 
-/* Called repeatedly until done from multi.c */
+/* Called repeatedly until done from curl_multi.c */
 static CURLcode smtp_multi_statemach(struct connectdata *conn, bool *done)
 {
   struct smtp_conn *smtpc = &conn->proto.smtpc;
@@ -1584,7 +1584,7 @@ static CURLcode smtp_dophase_done(struct connectdata *conn, bool connected)
   return CURLE_OK;
 }
 
-/* Called from multi.c while DOing */
+/* Called from curl_multi.c while DOing */
 static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done)
 {
   CURLcode result = smtp_multi_statemach(conn, dophase_done);
index 2eac88f..d769a04 100644 (file)
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -2620,7 +2620,7 @@ static void ssh_block2waitfor(struct connectdata *conn, bool block)
 #define ssh_block2waitfor(x,y) Curl_nop_stmt
 #endif
 
-/* called repeatedly until done from multi.c */
+/* called repeatedly until done from curl_multi.c */
 static CURLcode ssh_multi_statemach(struct connectdata *conn, bool *done)
 {
   struct ssh_conn *sshc = &conn->proto.sshc;
@@ -2844,7 +2844,7 @@ CURLcode scp_perform(struct connectdata *conn,
   return result;
 }
 
-/* called from multi.c while DOing */
+/* called from curl_multi.c while DOing */
 static CURLcode scp_doing(struct connectdata *conn,
                                bool *dophase_done)
 {
@@ -3053,7 +3053,7 @@ CURLcode sftp_perform(struct connectdata *conn,
   return result;
 }
 
-/* called from multi.c while DOing */
+/* called from curl_multi.c while DOing */
 static CURLcode sftp_doing(struct connectdata *conn,
                            bool *dophase_done)
 {
@@ -3154,7 +3154,7 @@ static ssize_t sftp_recv(struct connectdata *conn, int sockindex,
   return nread;
 }
 
-/* The get_pathname() function is being borrowed from OpenSSH sftp.c
+/* The get_pathname() function is being borrowed from OpenSSH-sftp.c
    version 4.6p1. */
 /*
  * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
index c5e5609..0809d46 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -22,7 +22,7 @@
 
 /*
  * Source file for all OpenSSL-specific code for the TLS/SSL layer. No code
- * but sslgen.c should ever call or use these functions.
+ * but curl_sslgen.c should ever call or use these functions.
  */
 
 /*
@@ -69,7 +69,7 @@
 
 #include "curl_warnless.h"
 #include "curl_memory.h"
-#include "curl_non-ascii.h" /* for Curl_convert_from_utf8 prototype */
+#include "curl_non_ascii.h" /* for Curl_convert_from_utf8 prototype */
 
 /* The last #include file should be: */
 #include "curl_memdebug.h"
index 39d9f58..1af246e 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -1371,7 +1371,7 @@ static CURLcode tftp_multi_statemach(struct connectdata *conn, bool *done)
  *
  * tftp_doing
  *
- * Called from multi.c while DOing
+ * Called from curl_multi.c while DOing
  *
  **********************************************************/
 static CURLcode tftp_doing(struct connectdata *conn, bool *dophase_done)
index c37f6c6..a1dee1d 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -79,7 +79,7 @@
 #include "curl_select.h"
 #include "curl_multiif.h"
 #include "curl_connect.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
@@ -683,7 +683,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
         if(k->badheader < HEADER_ALLBAD) {
           /* This switch handles various content encodings. If there's an
              error here, be sure to check over the almost identical code
-             in http_chunks.c.
+             in curl_http_chunks.c.
              Make sure that ALL_CONTENT_ENCODINGS contains all the
              encodings handled here. */
 #ifdef HAVE_LIBZ
index 8c2ab27..52badc5 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -98,7 +98,7 @@ int curl_win32_idn_to_ascii(const char *in, char **out);
 #include "curl_speedcheck.h"
 #include "curl_rawstr.h"
 #include "curl_warnless.h"
-#include "curl_non-ascii.h"
+#include "curl_non_ascii.h"
 #include "curl_inet_pton.h"
 
 /* And now for the protocols */
@@ -2190,7 +2190,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
     break;
 
   case CURLOPT_SSH_KEYFUNCTION:
-    /* setting to NULL is fine since the ssh.c functions themselves will
+    /* setting to NULL is fine since the curl_ssh.c functions themselves will
        then rever to use the internal default */
     data->set.ssh_keyfunc = va_arg(param, curl_sshkeycallback);
     break;
@@ -3688,7 +3688,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data,
        */
 
       /* Note: if you add a new protocol, please update the list in
-       * lib/version.c too! */
+       * lib/curl_version.c too! */
 
       if(checkprefix("FTP.", conn->host.name))
         protop = "ftp";
@@ -5356,7 +5356,7 @@ CURLcode Curl_do(struct connectdata **connp, bool *done)
     /* generic protocol-specific function pointer set in curl_connect() */
     result = conn->handler->do_it(conn, done);
 
-    /* This was formerly done in transfer.c, but we better do it here */
+    /* This was formerly done in curl_transfer.c, but we better do it here */
     if((CURLE_SEND_ERROR == result) && conn->bits.reuse) {
       /*
        * If the connection is using an easy handle, call reconnect
index a9e1c38..d9c6e9e 100644 (file)
@@ -13,7 +13,7 @@ cd "${TOPDIR}/lib"
 echo '#pragma comment(user, "libcurl version '"${LIBCURL_VERSION}"'")' > os400.c
 echo '#pragma comment(user, __DATE__)' >> os400.c
 echo '#pragma comment(user, __TIME__)' >> os400.c
-echo '#pragma comment(copyright, "Copyright (C) 1998-2012 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
+echo '#pragma comment(copyright, "Copyright (C) 1998-2013 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
 make_module     OS400           os400.c
 LINK=                           # No need to rebuild service program yet.
 MODULES=
@@ -151,13 +151,13 @@ fi
 
 if [ "${TEST_FORMDATA}" ]
 then    MODULES=
-        make_module TFORMDATA   formdata.c      "'_FORM_DEBUG' 'CURLDEBUG'"
-        make_module TSTREQUAL   strequal.c      "'_FORM_DEBUG' 'CURLDEBUG'"
-        make_module TMEMDEBUG   memdebug.c      "'_FORM_DEBUG' 'CURLDEBUG'"
-        make_module TMPRINTF    mprintf.c       "'_FORM_DEBUG' 'CURLDEBUG'"
-        make_module TSTRERROR   strerror.c      "'_FORM_DEBUG' 'CURLDEBUG'"
+        make_module TFORMDATA   curl_formdata.c  "'_FORM_DEBUG' 'CURLDEBUG'"
+        make_module TSTREQUAL   curl_strequal.c  "'_FORM_DEBUG' 'CURLDEBUG'"
+        make_module TMEMDEBUG   curl_memdebug.c  "'_FORM_DEBUG' 'CURLDEBUG'"
+        make_module TMPRINTF    curl_mprintf.c   "'_FORM_DEBUG' 'CURLDEBUG'"
+        make_module TSTRERROR   curl_strerror.c  "'_FORM_DEBUG' 'CURLDEBUG'"
         #       The following modules should not be needed (see comment in
-        #               formdata.c. However, there are some unsatisfied
+        #               curl_formdata.c. However, there are some unsatisfied
         #               external references leading in the following
         #               modules to be (recursively) needed.
         MODULES="${MODULES} EASY STRDUP SSLGEN QSSL HOSTIP HOSTIP4 HOSTIP6"
index 28498ce..caddfec 100644 (file)
@@ -49,7 +49,8 @@ SOURCE \
 
 SOURCEPATH  ../../../lib
 SOURCE \
-    rawstr.c nonblock.c
+    curl_nonblock.c \
+    curl_rawstr.c
 
 USERINCLUDE ../../../src ../../../lib ../../../include/curl
 
index 933994f..eb920c0 100644 (file)
@@ -21,24 +21,113 @@ MACRO       USE_SSLEAY
 
 SOURCEPATH  ../../../lib
 SOURCE \
-  file.c timeval.c base64.c hostip.c progress.c formdata.c             \
-  cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c      \
-  ldap.c ssluse.c version.c getenv.c escape.c mprintf.c telnet.c       \
-  netrc.c getinfo.c transfer.c strequal.c easy.c security.c krb4.c     \
-  curl_fnmatch.c fileinfo.c ftplistparser.c wildcard.c krb5.c          \
-  memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c multi.c   \
-  content_encoding.c share.c http_digest.c md4.c md5.c curl_rand.c     \
-  http_negotiate.c inet_pton.c strtoofft.c strerror.c amigaos.c                \
-  hostasyn.c hostip4.c hostip6.c hostsyn.c inet_ntop.c parsedate.c     \
-  select.c gtls.c sslgen.c tftp.c splay.c strdup.c socks.c ssh.c nss.c \
-  qssl.c rawstr.c curl_addrinfo.c socks_gssapi.c socks_sspi.c          \
-  curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c   \
-  pingpong.c rtsp.c curl_threads.c warnless.c hmac.c polarssl.c                \
-  curl_rtmp.c openldap.c curl_gethostname.c gopher.c axtls.c           \
-  idn_win32.c http_negotiate_sspi.c cyassl.c http_proxy.c non-ascii.c  \
-  asyn-ares.c asyn-thread.c curl_gssapi.c curl_ntlm.c curl_ntlm_wb.c   \
-  curl_ntlm_core.c curl_ntlm_msgs.c curl_sasl.c curl_schannel.c                \
-  curl_multibyte.c curl_darwinssl.c bundles.c conncache.c
+  curl_addrinfo.c \
+  curl_amigaos.c \
+  curl_asyn_ares.c \
+  curl_asyn_thread.c \
+  curl_axtls.c \
+  curl_base64.c \
+  curl_bundles.c \
+  curl_conncache.c \
+  curl_connect.c \
+  curl_content_encoding.c \
+  curl_cookie.c \
+  curl_cyassl.c \
+  curl_darwinssl.c \
+  curl_dict.c \
+  curl_easy.c \
+  curl_escape.c \
+  curl_file.c \
+  curl_fileinfo.c \
+  curl_fnmatch.c \
+  curl_formdata.c \
+  curl_ftp.c \
+  curl_ftplistparser.c \
+  curl_getenv.c \
+  curl_gethostname.c \
+  curl_getinfo.c \
+  curl_gopher.c \
+  curl_gssapi.c \
+  curl_gtls.c \
+  curl_hash.c \
+  curl_hmac.c \
+  curl_hostasyn.c \
+  curl_hostip.c \
+  curl_hostip4.c \
+  curl_hostip6.c \
+  curl_hostsyn.c \
+  curl_http.c \
+  curl_http_chunks.c \
+  curl_http_digest.c \
+  curl_http_negotiate.c \
+  curl_http_negotiate_sspi.c \
+  curl_http_proxy.c \
+  curl_idn_win32.c \
+  curl_if2ip.c \
+  curl_imap.c \
+  curl_inet_ntop.c \
+  curl_inet_pton.c \
+  curl_krb4.c \
+  curl_krb5.c \
+  curl_ldap.c \
+  curl_llist.c \
+  curl_md4.c \
+  curl_md5.c \
+  curl_memdebug.c \
+  curl_memrchr.c \
+  curl_mprintf.c \
+  curl_multi.c \
+  curl_multibyte.c \
+  curl_netrc.c \
+  curl_non_ascii.c \
+  curl_nonblock.c \
+  curl_nss.c \
+  curl_ntlm.c \
+  curl_ntlm_core.c \
+  curl_ntlm_msgs.c \
+  curl_ntlm_wb.c \
+  curl_openldap.c \
+  curl_parsedate.c \
+  curl_pingpong.c \
+  curl_polarssl.c \
+  curl_pop3.c \
+  curl_progress.c \
+  curl_qssl.c \
+  curl_rand.c \
+  curl_rawstr.c \
+  curl_rtmp.c \
+  curl_rtsp.c \
+  curl_sasl.c \
+  curl_schannel.c \
+  curl_security.c \
+  curl_select.c \
+  curl_sendf.c \
+  curl_share.c \
+  curl_slist.c \
+  curl_smtp.c \
+  curl_socks.c \
+  curl_socks_gssapi.c \
+  curl_socks_sspi.c \
+  curl_speedcheck.c \
+  curl_splay.c \
+  curl_ssh.c \
+  curl_sslgen.c \
+  curl_ssluse.c \
+  curl_sspi.c \
+  curl_strdup.c \
+  curl_strequal.c \
+  curl_strerror.c \
+  curl_strtok.c \
+  curl_strtoofft.c \
+  curl_telnet.c \
+  curl_tftp.c \
+  curl_threads.c \
+  curl_timeval.c \
+  curl_transfer.c \
+  curl_url.c \
+  curl_version.c \
+  curl_warnless.c \
+  curl_wildcard.c
 
 USERINCLUDE   ../../../lib ../../../include/curl
 #ifdef ENABLE_SSL
index 75edf48..721ae84 100644 (file)
@@ -114,7 +114,7 @@ LINK_ARG = $(OBJ_DIR)$(DS)wlink.arg
 !endif
 # For now we still define the CURLX_ONES sources here unless we know how
 # to split off the prefixed path.
-CURLX_SOURCES = rawstr.c nonblock.c
+CURLX_SOURCES = curl_rawstr.c curl_nonblock.c
 
 OBJS = $(CURL_CFILES:.c=.obj)
 !ifdef %curl_static
index 7ce30f0..4e1d427 100644 (file)
@@ -9,10 +9,11 @@
 
 # libcurl has sources that provide functions named curlx_* that aren't part of
 # the official API, but we re-use the code here to avoid duplication.
-CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \
-       $(top_srcdir)/lib/strdup.c \
-       $(top_srcdir)/lib/rawstr.c \
-       $(top_srcdir)/lib/nonblock.c
+CURLX_ONES = \
+       $(top_srcdir)/lib/curl_nonblock.c \
+       $(top_srcdir)/lib/curl_rawstr.c \
+       $(top_srcdir)/lib/curl_strdup.c \
+       $(top_srcdir)/lib/curl_strtoofft.c
 
 CURL_CFILES = \
        tool_binmode.c \
index 073b20d..415eec3 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___\r
 #                             \___|\___/|_| \_\_____|\r
 #\r
-# Copyright (C) 1999 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.\r
+# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.\r
 #\r
 # This software is licensed as described in the file COPYING, which\r
 # you should have received as part of this distribution. The terms\r
@@ -134,9 +134,9 @@ CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include
 !ENDIF\r
 \r
 RELEASE_OBJS= \\r
-       nonblockr.obj \\r
-       rawstrr.obj \\r
-       strtoofftr.obj \\r
+       curl_nonblockr.obj \\r
+       curl_rawstrr.obj \\r
+       curl_strtoofftr.obj \\r
        tool_binmoder.obj \\r
        tool_bnamer.obj \\r
        tool_cb_dbgr.obj \\r
@@ -178,9 +178,9 @@ RELEASE_OBJS= \
        curlr.res\r
 \r
 DEBUG_OBJS= \\r
-       nonblockd.obj \\r
-       rawstrd.obj \\r
-       strtoofftd.obj \\r
+       curl_nonblockd.obj \\r
+       curl_rawstrd.obj \\r
+       curl_strtoofftd.obj \\r
        tool_binmoded.obj \\r
        tool_bnamed.obj \\r
        tool_cb_dbgd.obj \\r
@@ -341,12 +341,12 @@ debug: $(DEBUG_OBJS)
         $(MANIFESTTOOL)\r
 \r
 ## Release\r
-nonblockr.obj: ../lib/nonblock.c\r
-       $(CCR) $(CFLAGS) /Fo"$@" ../lib/nonblock.c\r
-rawstrr.obj: ../lib/rawstr.c\r
-       $(CCR) $(CFLAGS) /Fo"$@" ../lib/rawstr.c\r
-strtoofftr.obj: ../lib/strtoofft.c\r
-       $(CCR) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c\r
+curl_nonblockr.obj: ../lib/curl_nonblock.c\r
+       $(CCR) $(CFLAGS) /Fo"$@" ../lib/curl_nonblock.c\r
+curl_rawstrr.obj: ../lib/curl_rawstr.c\r
+       $(CCR) $(CFLAGS) /Fo"$@" ../lib/curl_rawstr.c\r
+curl_strtoofftr.obj: ../lib/curl_strtoofft.c\r
+       $(CCR) $(CFLAGS) /Fo"$@" ../lib/curl_strtoofft.c\r
 tool_binmoder.obj: tool_binmode.c\r
        $(CCR) $(CFLAGS) /Fo"$@" tool_binmode.c\r
 tool_bnamer.obj: tool_bname.c\r
@@ -427,12 +427,12 @@ curlr.res : curl.rc
        $(RCR) $(RESFLAGS) /Fo"$@" curl.rc\r
 \r
 ## Debug\r
-nonblockd.obj: ../lib/nonblock.c\r
-       $(CCD) $(CFLAGS) /Fo"$@" ../lib/nonblock.c\r
-rawstrd.obj: ../lib/rawstr.c\r
-       $(CCD) $(CFLAGS) /Fo"$@" ../lib/rawstr.c\r
-strtoofftd.obj: ../lib/strtoofft.c\r
-       $(CCD) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c\r
+curl_nonblockd.obj: ../lib/curl_nonblock.c\r
+       $(CCD) $(CFLAGS) /Fo"$@" ../lib/curl_nonblock.c\r
+curl_rawstrd.obj: ../lib/curl_rawstr.c\r
+       $(CCD) $(CFLAGS) /Fo"$@" ../lib/curl_rawstr.c\r
+curl_strtoofftd.obj: ../lib/curl_strtoofft.c\r
+       $(CCD) $(CFLAGS) /Fo"$@" ../lib/curl_strtoofft.c\r
 tool_binmoded.obj: tool_binmode.c\r
        $(CCD) $(CFLAGS) /Fo"$@" tool_binmode.c\r
 tool_bnamed.obj: tool_bname.c\r
index aa48889..1f03f07 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -849,7 +849,7 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
         input.fd = infd;
         input.config = config;
         /* Note that if CURLOPT_READFUNCTION is fread (the default), then
-         * lib/telnet.c will Curl_poll() on the input file descriptor
+         * lib/curl_telnet.c will Curl_poll() on the input file descriptor
          * rather then calling the READFUNCTION at regular intervals.
          * The circumstances in which it is preferable to enable this
          * behaviour, by omitting to set the READFUNCTION & READDATA options,
index cc0e8c3..7bd3ff0 100644 (file)
@@ -139,15 +139,15 @@ LINK32=link.exe
 # PROP Default_Filter ""\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\nonblock.c\r
+SOURCE=..\lib\curl_nonblock.c\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\rawstr.c\r
+SOURCE=..\lib\curl_rawstr.c\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\strtoofft.c\r
+SOURCE=..\lib\curl_strtoofft.c\r
 # End Source File\r
 # Begin Source File\r
 \r
index 0c45fea..7de115e 100644 (file)
@@ -5,7 +5,7 @@ TESTUTIL = testutil.c testutil.h
 TSTTRACE = testtrace.c testtrace.h
 
 # files used only in some libcurl test programs
-WARNLESS = $(top_srcdir)/lib/warnless.c $(top_srcdir)/lib/curl_warnless.h
+WARNLESS = $(top_srcdir)/lib/curl_warnless.c $(top_srcdir)/lib/curl_warnless.h
 
 # these files are used in every single test program below
 SUPPORTFILES = first.c test.h
index b6b1e1d..f5b4eb6 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -386,7 +386,7 @@ static int rlimit(int keep_open)
    * when using select() instead of poll() we cannot test
    * libcurl functionality with a socket number equal or
    * greater than FD_SETSIZE. In any case, macro VERIFY_SOCK
-   * in lib/select.c enforces this check and protects libcurl
+   * in lib/curl_select.c enforces this check and protects libcurl
    * from a possible crash. The effect of this protection
    * is that test 518 will always fail, since the actual
    * call to select() never takes place. We skip test 518
index 2d55d48..1c6210e 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -389,7 +389,7 @@ static int rlimit(int keep_open)
    * when using select() instead of poll() we cannot test
    * libcurl functionality with a socket number equal or
    * greater than FD_SETSIZE. In any case, macro VERIFY_SOCK
-   * in lib/select.c enforces this check and protects libcurl
+   * in lib/curl_select.c enforces this check and protects libcurl
    * from a possible crash. The effect of this protection
    * is that test 537 will always fail, since the actual
    * call to select() never takes place. We skip test 537
index bf53933..5f5bdfc 100755 (executable)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -23,9 +23,9 @@
 #
 # Example input:
 #
-# MEM mprintf.c:1094 malloc(32) = e5718
-# MEM mprintf.c:1103 realloc(e5718, 64) = e6118
-# MEM sendf.c:232 free(f6520)
+# MEM curl_mprintf.c:1094 malloc(32) = e5718
+# MEM curl_mprintf.c:1103 realloc(e5718, 64) = e6118
+# MEM curl_sendf.c:232 free(f6520)
 
 my $mallocs=0;
 my $callocs=0;
@@ -224,7 +224,7 @@ while(<FILE>) {
             print "Not recognized input line: $function\n";
         }
     }
-    # FD url.c:1282 socket() = 5
+    # FD curl_url.c:1282 socket() = 5
     elsif($_ =~ /^FD ([^ ]*):(\d*) (.*)/) {
         # generic match for the filename+linenumber
         $source = $1;
@@ -259,7 +259,7 @@ while(<FILE>) {
             }
         }
     }
-    # FILE url.c:1282 fopen("blabla") = 0x5ddd
+    # FILE curl_url.c:1282 fopen("blabla") = 0x5ddd
     elsif($_ =~ /^FILE ([^ ]*):(\d*) (.*)/) {
         # generic match for the filename+linenumber
         $source = $1;
@@ -287,12 +287,12 @@ while(<FILE>) {
             }
         }
     }
-    # GETNAME url.c:1901 getnameinfo()
+    # GETNAME curl_url.c:1901 getnameinfo()
     elsif($_ =~ /^GETNAME ([^ ]*):(\d*) (.*)/) {
         # not much to do
     }
 
-    # ADDR url.c:1282 getaddrinfo() = 0x5ddd
+    # ADDR curl_url.c:1282 getaddrinfo() = 0x5ddd
     elsif($_ =~ /^ADDR ([^ ]*):(\d*) (.*)/) {
         # generic match for the filename+linenumber
         $source = $1;
index 2e82c11..fc07b61 100644 (file)
@@ -56,16 +56,16 @@ endforeach()
 
 # SET(useful
 # getpart.c getpart.h
-# ${CURL_SOURCE_DIR}/lib/strequal.c
-# ${CURL_SOURCE_DIR}/lib/base64.c
-# ${CURL_SOURCE_DIR}/lib/mprintf.c
-# ${CURL_SOURCE_DIR}/lib/memdebug.c
-# ${CURL_SOURCE_DIR}/lib/timeval.c
+# ${CURL_SOURCE_DIR}/lib/curl_strequal.c
+# ${CURL_SOURCE_DIR}/lib/curl_base64.c
+# ${CURL_SOURCE_DIR}/lib/curl_mprintf.c
+# ${CURL_SOURCE_DIR}/lib/curl_memdebug.c
+# ${CURL_SOURCE_DIR}/lib/curl_timeval.c
 # )
 
 # SETUP_EXECUTABLE(sws sws.c util.c util.h ${useful})
 # SETUP_EXECUTABLE(resolve resolve.c util.c util.h ${useful})
-# SETUP_EXECUTABLE(sockfilt sockfilt.c util.c util.h ${useful} ${CURL_SOURCE_DIR}/lib/inet_pton.c)
+# SETUP_EXECUTABLE(sockfilt sockfilt.c util.c util.h ${useful} ${CURL_SOURCE_DIR}/lib/curl_inet_pton.c)
 # SETUP_EXECUTABLE(getpart testpart.c ${useful})
 # SETUP_EXECUTABLE(tftpd tftpd.c util.c util.h ${useful} server_tftp.h)
 
index 2dbbf26..b0c32bd 100644 (file)
@@ -1,12 +1,12 @@
 noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm
 
 CURLX_SRCS = \
- $(top_srcdir)/lib/mprintf.c \
- $(top_srcdir)/lib/nonblock.c \
- $(top_srcdir)/lib/strequal.c \
- $(top_srcdir)/lib/strtoofft.c \
- $(top_srcdir)/lib/timeval.c \
- $(top_srcdir)/lib/warnless.c
+ $(top_srcdir)/lib/curl_mprintf.c \
+ $(top_srcdir)/lib/curl_nonblock.c \
+ $(top_srcdir)/lib/curl_strequal.c \
+ $(top_srcdir)/lib/curl_strtoofft.c \
+ $(top_srcdir)/lib/curl_timeval.c \
+ $(top_srcdir)/lib/curl_warnless.c
 
 CURLX_HDRS = \
  $(top_srcdir)/lib/curlx.h \
@@ -20,9 +20,9 @@ USEFUL = \
  getpart.c \
  getpart.h \
  server_setup.h \
- $(top_srcdir)/lib/base64.c \
+ $(top_srcdir)/lib/curl_base64.c \
  $(top_srcdir)/lib/curl_base64.h \
- $(top_srcdir)/lib/memdebug.c \
+ $(top_srcdir)/lib/curl_memdebug.c \
  $(top_srcdir)/lib/curl_memdebug.h
 
 UTIL = \
@@ -48,14 +48,14 @@ rtspd_CFLAGS = $(AM_CFLAGS)
 sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
  server_sockaddr.h \
  sockfilt.c \
- $(top_srcdir)/lib/inet_pton.c
+ $(top_srcdir)/lib/curl_inet_pton.c
 sockfilt_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
 sockfilt_CFLAGS = $(AM_CFLAGS)
 
 sws_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
  server_sockaddr.h \
  sws.c \
- $(top_srcdir)/lib/inet_pton.c
+ $(top_srcdir)/lib/curl_inet_pton.c
 sws_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
 sws_CFLAGS = $(AM_CFLAGS)
 
index 5e8b392..921fb06 100644 (file)
@@ -455,9 +455,9 @@ CURL_LIBCURL_LIBNAME=$(LIB_NAME_IMP)
 !ENDIF\r
 \r
 CURL_FROM_LIBCURL=$(CURL_DIROBJ)\tool_hugehelp.obj \\r
- $(CURL_DIROBJ)\nonblock.obj \\r
- $(CURL_DIROBJ)\rawstr.obj \\r
- $(CURL_DIROBJ)\strtoofft.obj\r
+ $(CURL_DIROBJ)\curl_nonblock.obj \\r
+ $(CURL_DIROBJ)\curl_rawstr.obj \\r
+ $(CURL_DIROBJ)\curl_strtoofft.obj\r
  \r
 $(PROGRAM_NAME): $(CURL_DIROBJ) $(CURL_FROM_LIBCURL) $(EXE_OBJS)\r
        $(CURL_LINK) $(CURL_LFLAGS) $(CURL_LIBCURL_LIBNAME) $(WIN_LIBS) $(CURL_FROM_LIBCURL) $(EXE_OBJS)\r
@@ -468,12 +468,12 @@ $(PROGRAM_NAME): $(CURL_DIROBJ) $(CURL_FROM_LIBCURL) $(EXE_OBJS)
 \r
 $(CURL_DIROBJ)\tool_hugehelp.obj: $(CURL_SRC_DIR)\tool_hugehelp.c\r
        $(CURL_CC) $(CURL_CFLAGS) /Zm200 /Fo"$@" $(CURL_SRC_DIR)\tool_hugehelp.c\r
-$(CURL_DIROBJ)\nonblock.obj: ../lib/nonblock.c\r
-       $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/nonblock.c\r
-$(CURL_DIROBJ)\rawstr.obj: ../lib/rawstr.c\r
-       $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/rawstr.c\r
-$(CURL_DIROBJ)\strtoofft.obj: ../lib/strtoofft.c\r
-       $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/strtoofft.c\r
+$(CURL_DIROBJ)\curl_nonblock.obj: ../lib/curl_nonblock.c\r
+       $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curl_nonblock.c\r
+$(CURL_DIROBJ)\curl_rawstr.obj: ../lib/curl_rawstr.c\r
+       $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curl_rawstr.c\r
+$(CURL_DIROBJ)\curl_strtoofft.obj: ../lib/curl_strtoofft.c\r
+       $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/curl_strtoofft.c\r
 $(CURL_DIROBJ)\curl.res: $(CURL_SRC_DIR)\curl.rc\r
        rc $(CURL_RC_FLAGS)\r
 \r