]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Revert changes relative to lib/*.[ch] recent renaming
authorYang Tse <yangsita@gmail.com>
Fri, 4 Jan 2013 01:50:28 +0000 (02:50 +0100)
committerYang Tse <yangsita@gmail.com>
Sun, 6 Jan 2013 17:20:27 +0000 (18:20 +0100)
This reverts renaming and usage of lib/*.h header files done
28-12-2012, reverting 2 commits:

  f871de0... build: make use of 76 lib/*.h renamed files
  ffd8e12... build: rename 76 lib/*.h files

This also reverts removal of redundant include guard (redundant thanks
to changes in above commits) done 2-12-2013, reverting 1 commit:

  c087374... curl_setup.h: remove redundant include guard

This also reverts renaming and usage of lib/*.c source files done
3-12-2013, reverting 3 commits:

  13606bb... build: make use of 93 lib/*.c renamed files
  5b6e792... build: rename 93 lib/*.c files
  7d83dff... build: commit 13606bbfde follow-up 1

Start of related discussion thread:

  http://curl.haxx.se/mail/lib-2013-01/0012.html

Asking for confirmation on pushing this revertion commit:

  http://curl.haxx.se/mail/lib-2013-01/0048.html

Confirmation summary:

  http://curl.haxx.se/mail/lib-2013-01/0079.html

NOTICE: The list of 2 files that have been modified by other
intermixed commits, while renamed, and also by at least one
of the 6 commits this one reverts follows below. These 2 files
will exhibit a hole in history unless git's '--follow' option
is used when viewing logs.

  lib/curl_imap.h
  lib/curl_smtp.h

370 files changed:
CMakeLists.txt
buildconf
configure.ac
docs/INSTALL
docs/INTERNALS
docs/TODO
include/curl/curlrules.h
lib/CMakeLists.txt
lib/Makefile.am
lib/Makefile.inc
lib/Makefile.netware
lib/Makefile.vc6
lib/README.curlx
lib/README.hostip
lib/amigaos.c [moved from lib/curl_amigaos.c with 97% similarity]
lib/amigaos.h [moved from lib/curl_amigaos.h with 98% similarity]
lib/arpa_telnet.h [moved from lib/curl_arpa_telnet.h with 100% similarity]
lib/asyn-ares.c [moved from lib/curl_asyn_ares.c with 97% similarity]
lib/asyn-thread.c [moved from lib/curl_asyn_thread.c with 98% similarity]
lib/asyn.h [moved from lib/curl_asyn.h with 96% similarity]
lib/axtls.c [moved from lib/curl_axtls.c with 92% similarity]
lib/axtls.h [moved from lib/curl_axtls.h with 98% similarity]
lib/base64.c [moved from lib/curl_base64.c with 96% similarity]
lib/bundles.c [moved from lib/curl_bundles.c with 92% similarity]
lib/bundles.h [moved from lib/curl_bundles.h with 100% similarity]
lib/conncache.c [moved from lib/curl_conncache.c with 96% similarity]
lib/conncache.h [moved from lib/curl_conncache.h with 100% similarity]
lib/connect.c [moved from lib/curl_connect.c with 98% similarity]
lib/connect.h [moved from lib/curl_connect.h with 97% similarity]
lib/content_encoding.c [moved from lib/curl_content_encoding.c with 98% similarity]
lib/content_encoding.h [moved from lib/curl_content_encoding.h with 98% similarity]
lib/cookie.c [moved from lib/curl_cookie.c with 99% similarity]
lib/cookie.h [moved from lib/curl_cookie.h with 99% similarity]
lib/curl_addrinfo.c
lib/curl_addrinfo.h
lib/curl_darwinssl.c
lib/curl_darwinssl.h
lib/curl_fnmatch.c
lib/curl_gethostname.c
lib/curl_gssapi.c
lib/curl_gssapi.h
lib/curl_md4.h
lib/curl_memrchr.c
lib/curl_memrchr.h
lib/curl_multibyte.c
lib/curl_multibyte.h
lib/curl_ntlm.c
lib/curl_ntlm.h
lib/curl_ntlm_core.c
lib/curl_ntlm_core.h
lib/curl_ntlm_msgs.c
lib/curl_ntlm_msgs.h
lib/curl_ntlm_wb.c
lib/curl_ntlm_wb.h
lib/curl_rand.c
lib/curl_rtmp.c
lib/curl_sasl.c
lib/curl_sasl.h
lib/curl_schannel.c
lib/curl_schannel.h
lib/curl_sspi.c
lib/curl_sspi.h
lib/curl_threads.c
lib/curl_threads.h
lib/curlx.h
lib/cyassl.c [moved from lib/curl_cyassl.c with 97% similarity]
lib/cyassl.h [moved from lib/curl_cyassl.h with 99% similarity]
lib/dict.c [moved from lib/curl_dict.c with 97% similarity]
lib/dict.h [moved from lib/curl_dict.h with 100% similarity]
lib/easy.c [moved from lib/curl_easy.c with 97% similarity]
lib/easyif.h [moved from lib/curl_easyif.h with 90% similarity]
lib/escape.c [moved from lib/curl_escape.c with 96% similarity]
lib/escape.h [moved from lib/curl_escape.h with 100% similarity]
lib/file.c [moved from lib/curl_file.c with 97% similarity]
lib/file.h [moved from lib/curl_file.h with 100% similarity]
lib/fileinfo.c [moved from lib/curl_fileinfo.c with 93% similarity]
lib/fileinfo.h [moved from lib/curl_fileinfo.h with 100% similarity]
lib/formdata.c [moved from lib/curl_formdata.c with 99% similarity]
lib/formdata.h [moved from lib/curl_formdata.h with 100% similarity]
lib/ftp.c [moved from lib/curl_ftp.c with 99% similarity]
lib/ftp.h [moved from lib/curl_ftp.h with 96% similarity]
lib/ftplistparser.c [moved from lib/curl_ftplistparser.c with 99% similarity]
lib/ftplistparser.h [moved from lib/curl_ftplistparser.h with 98% similarity]
lib/getenv.c [moved from lib/curl_getenv.c with 97% similarity]
lib/getinfo.c [moved from lib/curl_getinfo.c with 97% similarity]
lib/getinfo.h [moved from lib/curl_getinfo.h with 100% similarity]
lib/gopher.c [moved from lib/curl_gopher.c with 94% similarity]
lib/gopher.h [moved from lib/curl_gopher.h with 100% similarity]
lib/gtls.c [moved from lib/curl_gtls.c with 98% similarity]
lib/gtls.h [moved from lib/curl_gtls.h with 98% similarity]
lib/hash.c [moved from lib/curl_hash.c with 98% similarity]
lib/hash.h [moved from lib/curl_hash.h with 98% similarity]
lib/hmac.c [moved from lib/curl_hmac.c with 98% similarity]
lib/hostasyn.c [moved from lib/curl_hostasyn.c with 95% similarity]
lib/hostcheck.c [moved from lib/curl_hostcheck.c with 97% similarity]
lib/hostcheck.h [moved from lib/curl_hostcheck.h with 100% similarity]
lib/hostip.c [moved from lib/curl_hostip.c with 95% similarity]
lib/hostip.h [moved from lib/curl_hostip.h with 97% similarity]
lib/hostip4.c [moved from lib/curl_hostip4.c with 97% similarity]
lib/hostip6.c [moved from lib/curl_hostip6.c with 92% similarity]
lib/hostsyn.c [moved from lib/curl_hostsyn.c with 89% similarity]
lib/http.c [moved from lib/curl_http.c with 98% similarity]
lib/http.h [moved from lib/curl_http.h with 97% similarity]
lib/http_chunks.c [moved from lib/curl_http_chunks.c with 96% similarity]
lib/http_chunks.h [moved from lib/curl_http_chunks.h with 100% similarity]
lib/http_digest.c [moved from lib/curl_http_digest.c with 97% similarity]
lib/http_digest.h [moved from lib/curl_http_digest.h with 98% similarity]
lib/http_negotiate.c [moved from lib/curl_http_negotiate.c with 98% similarity]
lib/http_negotiate.h [moved from lib/curl_http_negotiate.h with 100% similarity]
lib/http_negotiate_sspi.c [moved from lib/curl_http_negotiate_sspi.c with 97% similarity]
lib/http_proxy.c [moved from lib/curl_http_proxy.c with 98% similarity]
lib/http_proxy.h [moved from lib/curl_http_proxy.h with 100% similarity]
lib/idn_win32.c [moved from lib/curl_idn_win32.c with 97% similarity]
lib/if2ip.c [moved from lib/curl_if2ip.c with 97% similarity]
lib/if2ip.h [moved from lib/curl_if2ip.h with 98% similarity]
lib/imap.c [moved from lib/curl_imap.c with 97% similarity]
lib/imap.h [moved from lib/curl_imap.h with 92% similarity]
lib/inet_ntop.c [moved from lib/curl_inet_ntop.c with 99% similarity]
lib/inet_ntop.h [moved from lib/curl_inet_ntop.h with 98% similarity]
lib/inet_pton.c [moved from lib/curl_inet_pton.c with 99% similarity]
lib/inet_pton.h [moved from lib/curl_inet_pton.h with 98% similarity]
lib/krb4.c [moved from lib/curl_krb4.c with 98% similarity]
lib/krb4.h [moved from lib/curl_krb4.h with 100% similarity]
lib/krb5.c [moved from lib/curl_krb5.c with 97% similarity]
lib/ldap.c [moved from lib/curl_ldap.c with 96% similarity]
lib/llist.c [moved from lib/curl_llist.c with 98% similarity]
lib/llist.h [moved from lib/curl_llist.h with 98% similarity]
lib/md4.c [moved from lib/curl_md4.c with 99% similarity]
lib/md5.c [moved from lib/curl_md5.c with 99% similarity]
lib/memdebug.c [moved from lib/curl_memdebug.c with 99% similarity]
lib/memdebug.h [moved from lib/curl_memdebug.h with 99% similarity]
lib/mprintf.c [moved from lib/curl_mprintf.c with 99% similarity]
lib/multi.c [moved from lib/curl_multi.c with 99% similarity]
lib/multiif.h [moved from lib/curl_multiif.h with 93% similarity]
lib/netrc.c [moved from lib/curl_netrc.c with 96% similarity]
lib/netrc.h [moved from lib/curl_netrc.h with 100% similarity]
lib/non-ascii.c [moved from lib/curl_non_ascii.c with 96% similarity]
lib/non-ascii.h [moved from lib/curl_non_ascii.h with 98% similarity]
lib/nonblock.c [moved from lib/curl_nonblock.c with 98% similarity]
lib/nonblock.h [moved from lib/curl_nonblock.h with 100% similarity]
lib/nss.c [moved from lib/curl_nss.c with 98% similarity]
lib/nssg.h [moved from lib/curl_nssg.h with 93% similarity]
lib/nwlib.c [moved from lib/curl_nwlib.c with 99% similarity]
lib/nwos.c [moved from lib/curl_nwos.c with 99% similarity]
lib/openldap.c [moved from lib/curl_openldap.c with 96% similarity]
lib/parsedate.c [moved from lib/curl_parsedate.c with 99% similarity]
lib/parsedate.h [moved from lib/curl_parsedate.h with 100% similarity]
lib/pingpong.c [moved from lib/curl_pingpong.c with 97% similarity]
lib/pingpong.h [moved from lib/curl_pingpong.h with 98% similarity]
lib/polarssl.c [moved from lib/curl_polarssl.c with 97% similarity]
lib/polarssl.h [moved from lib/curl_polarssl.h with 99% similarity]
lib/pop3.c [moved from lib/curl_pop3.c with 98% similarity]
lib/pop3.h [moved from lib/curl_pop3.h with 95% similarity]
lib/progress.c [moved from lib/curl_progress.c with 99% similarity]
lib/progress.h [moved from lib/curl_progress.h with 98% similarity]
lib/qssl.c [moved from lib/curl_qssl.c with 98% similarity]
lib/qssl.h [moved from lib/curl_qssl.h with 91% similarity]
lib/rawstr.c [moved from lib/curl_rawstr.c with 98% similarity]
lib/rawstr.h [moved from lib/curl_rawstr.h with 100% similarity]
lib/rtsp.c [moved from lib/curl_rtsp.c with 97% similarity]
lib/rtsp.h [moved from lib/curl_rtsp.h with 100% similarity]
lib/security.c [moved from lib/curl_security.c with 98% similarity]
lib/select.c [moved from lib/curl_select.c with 99% similarity]
lib/select.h [moved from lib/curl_select.h with 99% similarity]
lib/sendf.c [moved from lib/curl_sendf.c with 98% similarity]
lib/sendf.h [moved from lib/curl_sendf.h with 99% similarity]
lib/setup.h [moved from lib/curl_setup.h with 99% similarity]
lib/setup_once.h [moved from lib/curl_setup_once.h with 100% similarity]
lib/share.c [moved from lib/curl_share.c with 98% similarity]
lib/share.h [moved from lib/curl_share.h with 96% similarity]
lib/slist.c [moved from lib/curl_slist.c with 97% similarity]
lib/slist.h [moved from lib/curl_slist.h with 100% similarity]
lib/smtp.c [moved from lib/curl_smtp.c with 98% similarity]
lib/smtp.h [moved from lib/curl_smtp.h with 95% similarity]
lib/sockaddr.h [moved from lib/curl_sockaddr.h with 98% similarity]
lib/socks.c [moved from lib/curl_socks.c with 99% similarity]
lib/socks.h [moved from lib/curl_socks.h with 99% similarity]
lib/socks_gssapi.c [moved from lib/curl_socks_gssapi.c with 98% similarity]
lib/socks_sspi.c [moved from lib/curl_socks_sspi.c with 98% similarity]
lib/speedcheck.c [moved from lib/curl_speedcheck.c with 95% similarity]
lib/speedcheck.h [moved from lib/curl_speedcheck.h with 96% similarity]
lib/splay.c [moved from lib/curl_splay.c with 99% similarity]
lib/splay.h [moved from lib/curl_splay.h with 99% similarity]
lib/ssh.c [moved from lib/curl_ssh.c with 99% similarity]
lib/ssh.h [moved from lib/curl_ssh.h with 97% similarity]
lib/sslgen.c [moved from lib/curl_sslgen.c with 96% similarity]
lib/sslgen.h [moved from lib/curl_sslgen.h with 99% similarity]
lib/ssluse.c [moved from lib/curl_ssluse.c with 99% similarity]
lib/ssluse.h [moved from lib/curl_ssluse.h with 94% similarity]
lib/strdup.c [moved from lib/curl_strdup.c with 96% similarity]
lib/strdup.h [moved from lib/curl_strdup.h with 98% similarity]
lib/strequal.c [moved from lib/curl_strequal.c with 98% similarity]
lib/strequal.h [moved from lib/curl_strequal.h with 100% similarity]
lib/strerror.c [moved from lib/curl_strerror.c with 99% similarity]
lib/strerror.h [moved from lib/curl_strerror.h with 98% similarity]
lib/strtok.c [moved from lib/curl_strtok.c with 97% similarity]
lib/strtok.h [moved from lib/curl_strtok.h with 98% similarity]
lib/strtoofft.c [moved from lib/curl_strtoofft.c with 98% similarity]
lib/strtoofft.h [moved from lib/curl_strtoofft.h with 99% similarity]
lib/telnet.c [moved from lib/curl_telnet.c with 99% similarity]
lib/telnet.h [moved from lib/curl_telnet.h with 100% similarity]
lib/tftp.c [moved from lib/curl_tftp.c with 98% similarity]
lib/tftp.h [moved from lib/curl_tftp.h with 100% similarity]
lib/timeval.c [moved from lib/curl_timeval.c with 99% similarity]
lib/timeval.h [moved from lib/curl_timeval.h with 98% similarity]
lib/transfer.c [moved from lib/curl_transfer.c with 98% similarity]
lib/transfer.h [moved from lib/curl_transfer.h with 100% similarity]
lib/url.c [moved from lib/curl_url.c with 99% similarity]
lib/url.h [moved from lib/curl_url.h with 96% similarity]
lib/urldata.h [moved from lib/curl_urldata.h with 98% similarity]
lib/version.c [moved from lib/curl_version.c with 99% similarity]
lib/warnless.c [moved from lib/curl_warnless.c with 99% similarity]
lib/warnless.h [moved from lib/curl_warnless.h with 100% similarity]
lib/wildcard.c [moved from lib/curl_wildcard.c with 93% similarity]
lib/wildcard.h [moved from lib/curl_wildcard.h with 100% similarity]
m4/curl-reentrant.m4
packages/OS400/ccsidcurl.c
packages/OS400/make-lib.sh
packages/OS400/os400sys.c
packages/Symbian/group/curl.mmp
packages/Symbian/group/libcurl.mmp
src/CMakeLists.txt
src/Makefile.Watcom
src/Makefile.inc
src/Makefile.vc6
src/mkhelp.pl
src/tool_binmode.c
src/tool_bname.c
src/tool_cb_dbg.c
src/tool_cb_hdr.c
src/tool_cb_prg.c
src/tool_cb_rea.c
src/tool_cb_see.c
src/tool_cb_wrt.c
src/tool_cfgable.c
src/tool_convert.c
src/tool_dirhie.c
src/tool_doswin.c
src/tool_easysrc.c
src/tool_formparse.c
src/tool_getparam.c
src/tool_getpass.c
src/tool_help.c
src/tool_helpers.c
src/tool_homedir.c
src/tool_libinfo.c
src/tool_main.c
src/tool_metalink.c
src/tool_mfiles.c
src/tool_msgs.c
src/tool_operate.c
src/tool_operhlp.c
src/tool_panykey.c
src/tool_paramhlp.c
src/tool_parsecfg.c
src/tool_setopt.c
src/tool_setup.h
src/tool_sleep.c
src/tool_urlglob.c
src/tool_util.c
src/tool_vms.c
src/tool_writeenv.c
src/tool_writeout.c
src/tool_xattr.c
src/vc6curlsrc.dsp
tests/convsrctest.pl
tests/libtest/CMakeLists.txt
tests/libtest/Makefile.inc
tests/libtest/chkhostname.c
tests/libtest/first.c
tests/libtest/lib1500.c
tests/libtest/lib1501.c
tests/libtest/lib1502.c
tests/libtest/lib500.c
tests/libtest/lib501.c
tests/libtest/lib502.c
tests/libtest/lib503.c
tests/libtest/lib504.c
tests/libtest/lib505.c
tests/libtest/lib506.c
tests/libtest/lib507.c
tests/libtest/lib508.c
tests/libtest/lib510.c
tests/libtest/lib511.c
tests/libtest/lib512.c
tests/libtest/lib513.c
tests/libtest/lib514.c
tests/libtest/lib515.c
tests/libtest/lib516.c
tests/libtest/lib517.c
tests/libtest/lib518.c
tests/libtest/lib519.c
tests/libtest/lib520.c
tests/libtest/lib521.c
tests/libtest/lib523.c
tests/libtest/lib524.c
tests/libtest/lib525.c
tests/libtest/lib526.c
tests/libtest/lib530.c
tests/libtest/lib533.c
tests/libtest/lib536.c
tests/libtest/lib537.c
tests/libtest/lib539.c
tests/libtest/lib540.c
tests/libtest/lib541.c
tests/libtest/lib542.c
tests/libtest/lib543.c
tests/libtest/lib544.c
tests/libtest/lib547.c
tests/libtest/lib549.c
tests/libtest/lib552.c
tests/libtest/lib553.c
tests/libtest/lib554.c
tests/libtest/lib555.c
tests/libtest/lib556.c
tests/libtest/lib557.c
tests/libtest/lib560.c
tests/libtest/lib562.c
tests/libtest/lib564.c
tests/libtest/lib566.c
tests/libtest/lib567.c
tests/libtest/lib568.c
tests/libtest/lib569.c
tests/libtest/lib570.c
tests/libtest/lib571.c
tests/libtest/lib572.c
tests/libtest/lib573.c
tests/libtest/lib574.c
tests/libtest/lib575.c
tests/libtest/lib576.c
tests/libtest/lib578.c
tests/libtest/lib579.c
tests/libtest/lib582.c
tests/libtest/lib583.c
tests/libtest/lib586.c
tests/libtest/lib590.c
tests/libtest/lib591.c
tests/libtest/lib597.c
tests/libtest/lib598.c
tests/libtest/lib599.c
tests/libtest/libauthretry.c
tests/libtest/libntlmconnect.c
tests/libtest/sethostname.c
tests/libtest/test.h
tests/libtest/testtrace.c
tests/libtest/testutil.c
tests/libtest/testutil.h
tests/mem-include-scan.pl
tests/memanalyze.pl
tests/server/CMakeLists.txt
tests/server/Makefile.inc
tests/server/fake_ntlm.c
tests/server/getpart.c
tests/server/resolve.c
tests/server/rtspd.c
tests/server/server_setup.h
tests/server/sockfilt.c
tests/server/sws.c
tests/server/testpart.c
tests/server/tftp.h [moved from tests/server/server_tftp.h with 100% similarity]
tests/server/tftpd.c
tests/server/util.c
tests/unit/unit1300.c
tests/unit/unit1301.c
tests/unit/unit1302.c
tests/unit/unit1303.c
tests/unit/unit1304.c
tests/unit/unit1305.c
tests/unit/unit1309.c
winbuild/MakefileBuild.vc

index ad90fb0d6f14ea3bffa52985fb42f1a223418bc5..e571e55613bacd8d52cf7caeb4215a313f5746d1 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 curl_mprintf.c COMPILE_FLAGS)
+    get_source_file_property(MPRINTF_COMPILE_FLAGS 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(curl_mprintf.c PROPERTIES
+    set_source_files_properties(mprintf.c PROPERTIES
       COMPILE_FLAGS ${MPRINTF_COMPILE_FLAGS})
   endif(HAVE_C_FLAG_Wno_long_double)
 endif(CMAKE_COMPILER_IS_GNUCC AND APPLE)
index 88b64efeae43327b7e351acb247b81208512df54..a7eb51a121d5563b511c2614333b6c17aee1ded8 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -81,7 +81,7 @@ removethis(){
 #
 if test ! -f configure.ac ||
   test ! -f src/tool_main.c ||
-  test ! -f lib/curl_urldata.h ||
+  test ! -f lib/urldata.h ||
   test ! -f include/curl/curl.h ||
   test ! -f m4/curl-functions.m4; then
   echo "Can not run buildconf from outside of curl's source subdirectory!"
index 19c5b2e48dfc3b790cc6258bf2981be0e8e6e92f..a22fdeae43cd8c4391ced1634ebe84185042b5bf 100644 (file)
@@ -34,7 +34,7 @@ AC_COPYRIGHT([Copyright (c) 1998 - 2012 Daniel Stenberg, <daniel@haxx.se>
 This configure script may be copied, distributed and modified under the
 terms of the curl license; see COPYING for more details])
 
-AC_CONFIG_SRCDIR([lib/curl_urldata.h])
+AC_CONFIG_SRCDIR([lib/urldata.h])
 AC_CONFIG_HEADERS(lib/curl_config.h include/curl/curlbuild.h)
 AC_CONFIG_MACRO_DIR([m4])
 AM_MAINTAINER_MODE
index a39f19c784047255758f9264eb38a94f443c48ef..0ed15ca29087a17274049b68000111faf8917fa1 100644 (file)
@@ -464,7 +464,7 @@ Win32
    possibilities:
 
    - Modify lib/config-win32.h
-   - Modify lib/curl_setup.h
+   - Modify lib/setup.h
    - Modify lib/Makefile.vc6
    - Add defines to Project/Settings/C/C++/General/Preprocessor Definitions
      in the vc6libcurl.dsw/vc6libcurl.dsp Visual C++ 6 IDE project.
index 2d6339893d39781f2014e630bf1c7728099c216a..03839c33d0d6fc8e37a9e33a6ba3b0cbb694d340 100644 (file)
@@ -114,15 +114,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/curl_easy.c file.
+ put in the lib/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/curl_mprintf.c.
This makes sure we stay absolutely platform independent.
+ All printf()-style functions use the supplied clones in lib/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'
@@ -137,17 +137,17 @@ Library
 
  curl_easy_perform() does a whole lot of things:
 
- 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
+ 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
  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/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).
+   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).
 
    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.
@@ -162,15 +162,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
-   (curl_ftp.c, curl_http.c and curl_dict.c). HTTPS is handled by Curl_http()
-   and FTPS by Curl_ftp().
+   (ftp.c, http.c and 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/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.
+   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.
 
    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
@@ -184,13 +184,13 @@ Library
 
  o Transfer()
 
-   Curl_perform() then calls Transfer() in lib/curl_transfer.c that performs
-   the entire file transfer.
+   Curl_perform() then calls Transfer() in lib/transfer.c that performs the
+   entire file transfer.
 
-   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.
+   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.
 
  o Curl_done()
 
@@ -238,11 +238,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/curl_formdata.c) that offers all the
multipart post functions.
+ code. There is a special file (lib/formdata.c) that offers all the multipart
+ post functions.
 
- 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).
+ 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).
 
  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
@@ -250,8 +250,8 @@ Library
  the source by the use of Curl_read() for reading and Curl_write() for writing
  data to the remote server.
 
- curl_http_chunks.c contains functions that understands HTTP 1.1 chunked
transfer encoding.
+ 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
@@ -261,7 +261,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/curl_if2ip.c.
+ specified network interface, and it resides in lib/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
@@ -270,42 +270,41 @@ Library
 
  Kerberos
 
- The kerberos support is mainly in lib/curl_krb4.c and lib/curl_security.c.
+ The kerberos support is mainly in lib/krb4.c and lib/security.c.
 
  TELNET
 
- Telnet is implemented in lib/curl_telnet.c.
+ Telnet is implemented in lib/telnet.c.
 
  FILE
 
- The file:// protocol is dealt with in lib/curl_file.c.
+ The file:// protocol is dealt with in lib/file.c.
 
  LDAP
 
- Everything LDAP is in lib/curl_ldap.c and lib/curl_openldap.c
+ Everything LDAP is in lib/ldap.c and lib/openldap.c
 
  GENERAL
 
  URL encoding and decoding, called escaping and unescaping in the source code,
- is found in lib/curl_escape.c.
+ is found in lib/escape.c.
 
  While transferring data in Transfer() a few functions might get used.
- curl_getdate() in lib/curl_parsedate.c is for HTTP date comparisons (and
- more).
+ curl_getdate() in lib/parsedate.c is for HTTP date comparisons (and more).
 
- 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/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_netrc.c holds the .netrc parser
+ lib/netrc.c holds the .netrc parser
 
- lib/curl_timeval.c features replacement functions for systems that don't have
+ lib/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/curl_version.c.
+ found in lib/version.c.
 
 Persistent Connections
 ======================
@@ -409,10 +408,10 @@ API/ABI
 Client
 ======
 
- main() resides in src/tool_main.c together with most of the client code.
+ main() resides in src/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/tool_urlglob.c file holds the
+ to display the complete "manual" and the src/urlglob.c file holds the
  functions used for the URL-"globbing" support. Globbing in the sense that
  the {} and [] expansion stuff is there.
 
@@ -421,10 +420,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/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.
+ 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.
 
  Recent versions may loop and do all this several times if many URLs were
  specified on the command line or config file.
@@ -432,12 +431,12 @@ Client
 Memory Debugging
 ================
 
- 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,
+ 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,
 
  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 72ca8d8abdb11d3aeac82e662f47ae5e868932a1..611b530e44cfa5e2ae8b554a93e0b11a6eebdd99 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/curl_ftp.c to remove the HTTP-style
headers from being output in NOBODY requests over ftp
+ #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers
+ from being output in NOBODY requests over ftp
 
 19.2 combine error codes
 
index 7c2ede35b63a7540acd042ce5c2b27a70c982d02..4e9c88003d489049e868af7be6f8a7da289110c6 100644 (file)
@@ -190,7 +190,7 @@ typedef char
  * CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow
  * these to be visible and exported by the external libcurl interface API,
  * while also making them visible to the library internals, simply including
- * curl_setup.h, without actually needing to include curl.h internally.
+ * setup.h, without actually needing to include curl.h internally.
  * If some day this section would grow big enough, all this should be moved
  * to its own header file.
  */
index 517ffcfed633e3c13993927143ed7df2439e6847..09b976c4ca74d9e19afa13e6ee497ab4faec80e4 100644 (file)
@@ -18,18 +18,18 @@ if(MSVC)
 endif()
 
 # SET(CSOURCES
-# # curl_memdebug.c -not used
-# # curl_nwlib.c - Not used
-# # curl_strtok.c - specify later
-# # curl_strtoofft.c - specify later
+# #  memdebug.c -not used
+# # nwlib.c - Not used
+# # strtok.c - specify later
+# # 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}
-# curl_krb4.c
-# curl_security.c
+# krb4.c
+# security.c
 # )
 # ENDIF(CURL_KRB4)
 
@@ -37,33 +37,33 @@ endif()
 # MARK_AS_ADVANCED(CURL_MALLOC_DEBUG)
 # IF(CURL_MALLOC_DEBUG)
 # SET(CSOURCES ${CSOURCES}
-# curl_memdebug.c
+# 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}
-# curl_strtoofft.c
+# strtoofft.c
 # )
 # ENDIF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64)
 
 if(HAVE_FEATURES_H)
   set_source_files_properties(
-    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
+    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
     COMPILE_FLAGS -D_BSD_SOURCE)
 endif(HAVE_FEATURES_H)
 
index 6b8fcdece44829747e9774a949eb51ce9234b501..bb7721d0e2d31253c35b9984f1635f9dffbb62bd 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2012, 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,47 +30,16 @@ DOCS = README.encoding README.memoryleak README.ares README.curlx   \
 
 CMAKE_DIST = CMakeLists.txt curl_config.h.cmake
 
-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-test08.sh \
- objnames-test10.sh \
- objnames.inc \
- setup-os400.h \
- vc6libcurl.dsw
+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-test08.sh          \
+ objnames-test10.sh objnames.inc
 
 CLEANFILES = $(DSP) $(VCPROJ)
 
index 27658639ef8cd9154ddb28a26b5f058376e541f9..f97ef6d0ee24c7cecf31b7e54ac5be1c5bf5d335 100644 (file)
 # CSRC2 = file4.c file5.c file6.c
 # CSOURCES = $(CSRC1) $(CSRC2)
 
-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 \
-  curl_amigaos.h \
-  curl_arpa_telnet.h \
-  curl_asyn.h \
-  curl_axtls.h \
-  curl_base64.h \
-  curl_bundles.h \
-  curl_conncache.h \
-  curl_connect.h \
-  curl_content_encoding.h \
-  curl_cookie.h \
-  curl_cyassl.h \
-  curl_darwinssl.h \
-  curl_dict.h \
-  curl_easyif.h \
-  curl_escape.h \
-  curl_file.h \
-  curl_fileinfo.h \
-  curl_fnmatch.h \
-  curl_formdata.h \
-  curl_ftp.h \
-  curl_ftplistparser.h \
-  curl_gethostname.h \
-  curl_getinfo.h \
-  curl_gopher.h \
-  curl_gssapi.h \
-  curl_gtls.h \
-  curl_hash.h \
-  curl_hmac.h \
-  curl_hostcheck.h \
-  curl_hostip.h \
-  curl_http.h \
-  curl_http_chunks.h \
-  curl_http_digest.h \
-  curl_http_negotiate.h \
-  curl_http_proxy.h \
-  curl_if2ip.h \
-  curl_imap.h \
-  curl_inet_ntop.h \
-  curl_inet_pton.h \
-  curl_krb4.h \
-  curl_ldap.h \
-  curl_llist.h \
-  curl_md4.h \
-  curl_md5.h \
-  curl_memdebug.h \
-  curl_memory.h \
-  curl_memrchr.h \
-  curl_multibyte.h \
-  curl_multiif.h \
-  curl_netrc.h \
-  curl_non_ascii.h \
-  curl_nonblock.h \
-  curl_nssg.h \
-  curl_ntlm.h \
-  curl_ntlm_core.h \
-  curl_ntlm_msgs.h \
-  curl_ntlm_wb.h \
-  curl_parsedate.h \
-  curl_pingpong.h \
-  curl_polarssl.h \
-  curl_pop3.h \
-  curl_progress.h \
-  curl_qssl.h \
-  curl_rand.h \
-  curl_rawstr.h \
-  curl_rtmp.h \
-  curl_rtsp.h \
-  curl_sasl.h \
-  curl_schannel.h \
-  curl_select.h \
-  curl_sendf.h \
-  curl_setup.h \
-  curl_setup_once.h \
-  curl_share.h \
-  curl_slist.h \
-  curl_smtp.h \
-  curl_sockaddr.h \
-  curl_socks.h \
-  curl_speedcheck.h \
-  curl_splay.h \
-  curl_ssh.h \
-  curl_sslgen.h \
-  curl_ssluse.h \
-  curl_sspi.h \
-  curl_strdup.h \
-  curl_strequal.h \
-  curl_strerror.h \
-  curl_strtok.h \
-  curl_strtoofft.h \
-  curl_telnet.h \
-  curl_tftp.h \
-  curl_threads.h \
-  curl_timeval.h \
-  curl_transfer.h \
-  curl_url.h \
-  curl_urldata.h \
-  curl_wildcard.h \
-  curlx.h
+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
 
+HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h      \
+  progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h     \
+  if2ip.h speedcheck.h urldata.h curl_ldap.h ssluse.h escape.h telnet.h        \
+  getinfo.h strequal.h krb4.h memdebug.h http_chunks.h curl_rand.h     \
+  curl_fnmatch.h wildcard.h fileinfo.h ftplistparser.h strtok.h                \
+  connect.h llist.h hash.h content_encoding.h share.h curl_md4.h       \
+  curl_md5.h http_digest.h http_negotiate.h inet_pton.h amigaos.h      \
+  strtoofft.h strerror.h inet_ntop.h curlx.h curl_memory.h setup.h     \
+  transfer.h select.h easyif.h multiif.h parsedate.h sslgen.h gtls.h   \
+  tftp.h sockaddr.h splay.h strdup.h setup_once.h socks.h ssh.h nssg.h \
+  curl_base64.h rawstr.h curl_addrinfo.h curl_sspi.h slist.h nonblock.h        \
+  curl_memrchr.h imap.h pop3.h smtp.h pingpong.h rtsp.h curl_threads.h \
+  warnless.h curl_hmac.h polarssl.h curl_rtmp.h curl_gethostname.h     \
+  gopher.h axtls.h cyassl.h http_proxy.h non-ascii.h asyn.h curl_ntlm.h        \
+  curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h curl_ntlm_msgs.h       \
+  curl_sasl.h curl_schannel.h curl_multibyte.h curl_darwinssl.h        \
+  hostcheck.h bundles.h conncache.h
index 70e6647ede47d2496604594969bf2d00a1ef8027..79c13ce2434c5b70b7d3bfbf2f8833e279d07701 100644 (file)
@@ -315,9 +315,9 @@ endif
 # Makefile.inc provides the CSOURCES and HHEADERS defines
 include Makefile.inc
 
-OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES))) $(OBJDIR)/curl_nwos.o
+OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES))) $(OBJDIR)/nwos.o
 
-OBJL   = $(OBJS) $(OBJDIR)/curl_nwlib.o $(LDLIBS)
+OBJL   = $(OBJS) $(OBJDIR)/nwlib.o $(LDLIBS)
 
 all: lib nlm
 
index 99a158f322596d6180907f314fe935e5089990ba..a8e7741b9db5edbbb53515f08924c3fbdc7d78f3 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___\r
 #                             \___|\___/|_| \_\_____|\r
 #\r
-# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.\r
+# Copyright (C) 1999 - 2012, 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)\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)\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_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)\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
+       $(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
        $(RESOURCE)\r
 \r
 all : $(TARGET)\r
index 6d6e29ec9c0a6c66bccb55b556e4d0e8d65e4716..5375b0d1d3400354b8a7220572c205aac46216b5 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 curl_strtoofft.c. Note that the function is only provided if no
+   code in 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 8901871874130a68a32b9c3772b0bcf40537f11a..9723b93fd8eefe183f124b935e7173f0a785065c 100644 (file)
@@ -1,7 +1,7 @@
curl_hostip.c explained
+ hostip.c explained
  ==================
 
- The main COMPILE-TIME DEFINES to keep in mind when reading the curl_host*.c
+ The main COMPILE-TIME DEFINES to keep in mind when reading the 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 curl_host*.c sources files are split up like this:
+ The host*.c sources files are split up like this:
 
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
+ 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
 
- 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.
+ The hostip.h is the single united header file for all this. It defines the
CURLRES_* defines based on the config*.h and setup.h defines.
similarity index 97%
rename from lib/curl_amigaos.c
rename to lib/amigaos.c
index c726abb68ba5a25766888a5b91d1c053697b0848..71ea704e17d3bca3fa3a37a420baae75f17a5cbb 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(__AMIGA__) && !defined(__ixemul__)
 
 #include <amitcp/socketbasetags.h>
 
-#include "curl_amigaos.h"
+#include "amigaos.h"
 
 struct Library *SocketBase = NULL;
 extern int errno, h_errno;
similarity index 98%
rename from lib/curl_amigaos.h
rename to lib/amigaos.h
index 76578be868a68affdae17ebbc5f387b1370f6327..7476a13d8af47a6d3adadfa0c533f43c055f10a5 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(__AMIGA__) && !defined(__ixemul__)
 
similarity index 100%
rename from lib/curl_arpa_telnet.h
rename to lib/arpa_telnet.h
similarity index 97%
rename from lib/curl_asyn_ares.c
rename to lib/asyn-ares.c
index 6e09e9b98907feb920b91f8335603eef9374b88c..44d00bdb060653e4229b3f351324d491512c33b1 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 /***********************************************************************
  * Only for ares-enabled builds
  * And only for functions that fulfill the asynch resolver backend API
- * as defined in curl_asyn.h, nothing else belongs in this file!
+ * as defined in asyn.h, nothing else belongs in this file!
  **********************************************************************/
 
 #ifdef CURLRES_ARES
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
-#include "curl_multiif.h"
-#include "curl_inet_pton.h"
-#include "curl_connect.h"
-#include "curl_select.h"
-#include "curl_progress.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
+#include "multiif.h"
+#include "inet_pton.h"
+#include "connect.h"
+#include "select.h"
+#include "progress.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
@@ -87,7 +87,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 struct ResolverResults {
   int num_pending; /* number of ares_gethostbyname() requests */
similarity index 98%
rename from lib/curl_asyn_thread.c
rename to lib/asyn-thread.c
index 6d3667fab7879c1581a6302eabb8a59c826238a8..0d29d58872fa1bdaffa2ef09054e1338fa519d6a 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #  define RESOLVER_ENOMEM  ENOMEM
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
-#include "curl_multiif.h"
-#include "curl_inet_pton.h"
-#include "curl_inet_ntop.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
+#include "multiif.h"
+#include "inet_pton.h"
+#include "inet_ntop.h"
 #include "curl_threads.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
@@ -74,7 +74,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /***********************************************************************
  * Only for threaded name resolves builds
similarity index 96%
rename from lib/curl_asyn.h
rename to lib/asyn.h
index 1167a3159182ddceafff2c5bb3600971eae9f38b..e7c1b886d91baf40c088980d4dec61efffc4ed64 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 #include "curl_addrinfo.h"
 
 struct addrinfo;
@@ -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.
- * curl_asyn_ares.c and curl_asyn_thread.c are the current implementations of
- * asynch resolver backends.
+ * asyn-ares.c and asyn-thread.c are the current implementations of asynch
+ * resolver backends.
  */
 
 /*
similarity index 92%
rename from lib/curl_axtls.c
rename to lib/axtls.c
index 8bd606a4027caaf43c81556ff1ed9a0b30518c8f..19ed730919676bc993c171e81b16ddbea72d34b3 100644 (file)
@@ -5,8 +5,8 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2010, DirecTV * contact: Eric Hu <ehu@directv.com>
- * Copyright (C) 2010 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2010, DirecTV
+ * contact: Eric Hu <ehu@directv.com>
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
 
 /*
  * Source file for all axTLS-specific code for the TLS/SSL layer. No code
- * but curl_sslgen.c should ever call or use these functions.
+ * but sslgen.c should ever call or use these functions.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_AXTLS
 #include <axTLS/ssl.h>
-#include "curl_axtls.h"
-
-#include "curl_sendf.h"
-#include "curl_inet_pton.h"
-#include "curl_sslgen.h"
-#include "curl_parsedate.h"
-#include "curl_connect.h" /* for the connect timeout */
-#include "curl_select.h"
+#include "axtls.h"
+
+#include "sendf.h"
+#include "inet_pton.h"
+#include "sslgen.h"
+#include "parsedate.h"
+#include "connect.h" /* for the connect timeout */
+#include "select.h"
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
-#include "curl_hostcheck.h"
+#include "memdebug.h"
+#include "hostcheck.h"
 
 
 /* SSL_read is opied from axTLS compat layer */
@@ -65,14 +65,14 @@ static int SSL_read(SSL *ssl, void *buf, int num)
 int Curl_axtls_init(void)
 {
 /* axTLS has no global init.  Everything is done through SSL and SSL_CTX
- * structs stored in connectdata structure.  Perhaps can move to curl_axtls.h.
+ * structs stored in connectdata structure.  Perhaps can move to axtls.h.
  */
   return 1;
 }
 
 int Curl_axtls_cleanup(void)
 {
-  /* axTLS has no global cleanup.  Perhaps can move this to curl_axtls.h. */
+  /* axTLS has no global cleanup.  Perhaps can move this to axtls.h. */
   return 1;
 }
 
@@ -199,7 +199,7 @@ Curl_axtls_connect(struct connectdata *conn,
       infof(data, "found certificates in %s\n", data->set.ssl.CAfile);
   }
 
-  /* curl_gtls.c tasks we're skipping for now:
+  /* 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,
     }
   }
 
-  /* curl_gtls.c does more here that is being left out for now
+  /* 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, curl_gtls.c gets the peer certificates and fails out depending on
+  /* Here, 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, curl_gtls.c does issuer verification. axTLS has no straightforward
+  /* Here, gtls.c does issuer verification. axTLS has no straightforward
    * equivalent, so omitting for now.*/
 
-  /* Here, curl_gtls.c does the following
+  /* Here, 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 curl_ssluse.c: (void)SSL_shutdown(connssl->ssl);
+    /* line from ssluse.c: (void)SSL_shutdown(connssl->ssl);
        axTLS compat layer does nothing for SSL_shutdown */
 
-    /* The following line is from curl_ssluse.c.  There seems to be no axTLS
+    /* The following line is from ssluse.c.  There seems to be no axTLS
        equivalent.  ssl_free and ssl_ctx_free close things.
        SSL_set_connect_state(connssl->handle); */
 
@@ -430,9 +430,8 @@ void Curl_axtls_close(struct connectdata *conn, int sockindex)
  */
 int Curl_axtls_shutdown(struct connectdata *conn, int sockindex)
 {
-  /* 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.
+  /* 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.
    */
   int retval = 0;
   struct ssl_connect_data *connssl = &conn->ssl[sockindex];
@@ -522,8 +521,7 @@ static ssize_t axtls_recv(struct connectdata *conn, /* connection data */
  */
 int Curl_axtls_check_cxn(struct connectdata *conn)
 {
-  /* curl_ssluse.c line:
-     rc = SSL_peek(conn->ssl[FIRSTSOCKET].ssl, (void*)&buf, 1);
+  /* 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? */
 
@@ -535,8 +533,8 @@ void Curl_axtls_session_free(void *ptr)
 {
   (void)ptr;
   /* free the ID */
-  /* both curl_ssluse.c and curl_gtls.c do something here, but axTLS's
-     OpenSSL compatibility layer does nothing, so we do nothing too. */
+  /* both ssluse.c and 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)
similarity index 98%
rename from lib/curl_axtls.h
rename to lib/axtls.h
index 06f78ed3234520b668aca8e77afd71ab2976358a..8d33b1c7a73eeecae9685f01bc9728f57b21eba2 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifdef USE_AXTLS
 #include "curl/curl.h"
-#include "curl_urldata.h"
+#include "urldata.h"
 
 int Curl_axtls_init(void);
 int Curl_axtls_cleanup(void);
similarity index 96%
rename from lib/curl_base64.c
rename to lib/base64.c
index 45c7a95bc105c2d4130174ba04c7bad98030bc0d..ec46c09abbc49e009301fd7d6de6b081bf68d364 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
 
 /* Base64 encoding/decoding */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
-#include "curl_urldata.h" /* for the SessionHandle definition */
-#include "curl_warnless.h"
+#include "urldata.h" /* for the SessionHandle definition */
+#include "warnless.h"
 #include "curl_base64.h"
 #include "curl_memory.h"
-#include "curl_non_ascii.h"
+#include "non-ascii.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 /* ---- Base64 Encoding/Decoding Table --- */
 static const char table64[]=
similarity index 92%
rename from lib/curl_bundles.c
rename to lib/bundles.c
index efbaeee4f2c0b233d81880a39d1fa32e5fcb17c0..f09ee2a35db81b5a32352778bf23c26bae0de11e 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_url.h"
-#include "curl_progress.h"
-#include "curl_multiif.h"
-#include "curl_bundles.h"
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "url.h"
+#include "progress.h"
+#include "multiif.h"
+#include "bundles.h"
+#include "sendf.h"
+#include "rawstr.h"
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static void conn_llist_dtor(void *user, void *element)
 {
similarity index 100%
rename from lib/curl_bundles.h
rename to lib/bundles.h
similarity index 96%
rename from lib/curl_conncache.c
rename to lib/conncache.c
index bc95e07df083373765406f26348162e90afd6f06..a3a90f87982dae7cc922c9be7aa706aad6182209 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_url.h"
-#include "curl_progress.h"
-#include "curl_multiif.h"
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
-#include "curl_bundles.h"
-#include "curl_conncache.h"
+#include "urldata.h"
+#include "url.h"
+#include "progress.h"
+#include "multiif.h"
+#include "sendf.h"
+#include "rawstr.h"
+#include "bundles.h"
+#include "conncache.h"
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define CONNECTION_HASH_SIZE 97
 
similarity index 100%
rename from lib/curl_conncache.h
rename to lib/conncache.h
similarity index 98%
rename from lib/curl_connect.c
rename to lib/connect.c
index 85226d80805766891b38a62b10a5ed3d37df9bdd..19f5b2f5bc1d1edc5984897bfaaa6e82a0e8d337 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h> /* <netinet/tcp.h> may need it */
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_if2ip.h"
-#include "curl_strerror.h"
-#include "curl_connect.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "if2ip.h"
+#include "strerror.h"
+#include "connect.h"
 #include "curl_memory.h"
-#include "curl_select.h"
-#include "curl_url.h"
-#include "curl_multiif.h"
-#include "curl_sockaddr.h" /* required for Curl_sockaddr_storage */
-#include "curl_inet_ntop.h"
-#include "curl_inet_pton.h"
-#include "curl_sslgen.h" /* for Curl_ssl_check_cxn() */
-#include "curl_progress.h"
-#include "curl_warnless.h"
+#include "select.h"
+#include "url.h" /* for Curl_safefree() */
+#include "multiif.h"
+#include "sockaddr.h" /* required for Curl_sockaddr_storage */
+#include "inet_ntop.h"
+#include "inet_pton.h"
+#include "sslgen.h" /* for Curl_ssl_check_cxn() */
+#include "progress.h"
+#include "warnless.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef __SYMBIAN32__
 /* This isn't actually supported under Symbian OS */
similarity index 97%
rename from lib/curl_connect.h
rename to lib/connect.h
index db23b928117a1fd25d3a27a55749e5aaa82fb57b..f84361f2e285331a14d436b7d5b38483796ce9a5 100644 (file)
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_nonblock.h"
-#include "curl_sockaddr.h"
+#include "nonblock.h" /* for curlx_nonblock(), formerly Curl_nonblock() */
+#include "sockaddr.h"
 
 CURLcode Curl_is_connected(struct connectdata *conn,
                            int sockindex,
similarity index 98%
rename from lib/curl_content_encoding.c
rename to lib/content_encoding.c
index 6f4d1428ad8d467075574c1ad3719ef3e968ddea..3276ef98886bb46979f80a2792be8decd6766295 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_LIBZ
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_sendf.h"
-#include "curl_content_encoding.h"
+#include "sendf.h"
+#include "content_encoding.h"
 #include "curl_memory.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Comment this out if zlib is always going to be at least ver. 1.2.0.4
    (doing so will reduce code size slightly). */
similarity index 98%
rename from lib/curl_content_encoding.h
rename to lib/content_encoding.h
index 501f6c8cebd4084a0d5907e655ea84dbfe0ee15e..372da4a3bbfee130914dc3ff9798cc5b1d9b7a61 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 /*
  * Comma-separated list all supported Content-Encodings ('identity' is implied)
similarity index 99%
rename from lib/curl_cookie.c
rename to lib/cookie.c
index 90ee884bb0c567cca081d8ab5497e00afd4cb01d..644b33a2565700e3144b8f1341827767876e8245 100644 (file)
@@ -77,26 +77,26 @@ Example set of cookies:
 ****/
 
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
 
 #define _MPRINTF_REPLACE
 #include <curl/mprintf.h>
 
-#include "curl_urldata.h"
-#include "curl_cookie.h"
-#include "curl_strequal.h"
-#include "curl_strtok.h"
-#include "curl_sendf.h"
+#include "urldata.h"
+#include "cookie.h"
+#include "strequal.h"
+#include "strtok.h"
+#include "sendf.h"
 #include "curl_memory.h"
-#include "curl_share.h"
-#include "curl_strtoofft.h"
-#include "curl_rawstr.h"
+#include "share.h"
+#include "strtoofft.h"
+#include "rawstr.h"
 #include "curl_memrchr.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static void freecookie(struct Cookie *co)
 {
similarity index 99%
rename from lib/curl_cookie.h
rename to lib/cookie.h
index d3b63f780fce06e7cbbd57b86ee98f9394748935..5997e4680fad4b95b17228b13b35cf182b23734e 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
index c2d5832e602da534d4c6f5e373accaccf51b2196..815b4ae6442182a19f3bd228c734d61d6f5df71b 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
 #endif
 
 #include "curl_addrinfo.h"
-#include "curl_inet_pton.h"
-#include "curl_warnless.h"
+#include "inet_pton.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 
 /*
@@ -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 curl_memdebug.c. I put these ones here since
- * they require a bunch of structs I didn't want to include there.
+ * 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
  */
 
 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 curl_memdebug.c. I put these ones here since
- * they require a bunch of structs I didn't want to include there.
+ * 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
  */
 
 int
index 6d2b753eb3d317f8b9d61d1a06a3d60d296d0a47..a5375cb33d9f17be521410660d02d317166dbbe0 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #  include <netinet/in.h>
index b919c1680a8dd5d1d40dd82b33cca771b71abf32..2d56b39208c9c89a98177250e7924cd75ca725a3 100644 (file)
@@ -6,7 +6,7 @@
  *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2012, Nick Zitzmann, <nickzman@gmail.com>.
- * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012, 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
 
 /*
  * Source file for all iOS and Mac OS X SecureTransport-specific code for the
- * TLS/SSL layer. No code but curl_sslgen.c should ever call or use these
- * functions.
+ * TLS/SSL layer. No code but sslgen.c should ever call or use these functions.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_DARWINSSL
 
 #include <sys/sysctl.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_inet_pton.h"
-#include "curl_connect.h"
-#include "curl_select.h"
-#include "curl_sslgen.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "inet_pton.h"
+#include "connect.h"
+#include "select.h"
+#include "sslgen.h"
 #include "curl_darwinssl.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
@@ -56,7 +55,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* From MacTypes.h (which we can't include because it isn't present in iOS: */
 #define ioErr -36
index 183d9371c7399a767880de14b9f62b41d23a9260..53053edca8e99c1507ae3eac6a2ef9ffe1ccea79 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_DARWINSSL
 
index b6f7dd948c186995be3efc616e8a131e11372759..e18f52eabee7a41700c6063857a17c79fa37e443 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "curl_fnmatch.h"
 
@@ -29,7 +29,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define CURLFNM_CHARSET_LEN (sizeof(char) * 256)
 #define CURLFNM_CHSET_SIZE (CURLFNM_CHARSET_LEN + 15)
index ded1e6f948d2482dc3e04643024ccfbad1864580..ddee4ba1db7d9e77ab6e8ea534b4e77b42a5da11 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "curl_gethostname.h"
 
index 2d2492ecb8b9c3039b85b3182e7169bfb3adb103..b9c8ad0cffe93ffacdecb3b297b0157cd8a097bc 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_GSSAPI
 
 #include "curl_gssapi.h"
-#include "curl_sendf.h"
+#include "sendf.h"
 
 OM_uint32 Curl_gss_init_sec_context(
     struct SessionHandle *data,
index df4bcd6500fba03cd1f972baf5d8e69c3e2d97c9..fd4596b80113ab07d83e9d9c3907fbf4ff283f5e 100644 (file)
@@ -22,8 +22,8 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
-#include "curl_urldata.h"
+#include "setup.h"
+#include "urldata.h"
 
 #ifdef HAVE_GSSAPI
 
index b0be9cf6cf2883a6f63c097a579b2f09de52dd55..6b6c16e134c5e6cd714ad83875e8348d2be7dd9d 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 /* NSS crypto library does not provide the MD4 hash algorithm, so that we have
  * a local implementation of it */
index ad7f1880d98cc9a68d9eeee2f0afb9ac838a9abf..d79af9be7492f1af194daf603370e97577275e3b 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "curl_memrchr.h"
 
@@ -29,7 +29,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef HAVE_MEMRCHR
 
index 324c73a7b89fdda5aed0667b746069702a622395..37061b6082c92eafd0165839879c71bf366e7122 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_MEMRCHR
 
index 75d6544b0a048fb5625f6ec4d9832555532ac132..7cb9e4c60c8e43486641d7afccfbdbab19c44db1 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_WIN32_IDN) || (defined(USE_WINDOWS_SSPI) && defined(UNICODE))
 
@@ -35,7 +35,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8)
 {
index 7ee5eae1262fa82a23a2011d74fb7722486315e1..6ecccd3c93639347db2d6172b76ceef2e9aba046 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_WIN32_IDN) || (defined(USE_WINDOWS_SSPI) && defined(UNICODE))
 
index 470b9c62ac3f66ed54ed4595c719b8b23f418a57..9c7837254922383fc9414068f90e495496942fae 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_NTLM
 
 
 #define DEBUG_ME 0
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "rawstr.h"
 #include "curl_ntlm.h"
 #include "curl_ntlm_msgs.h"
 #include "curl_ntlm_wb.h"
-#include "curl_url.h"
+#include "url.h"
 #include "curl_memory.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #if defined(USE_NSS)
-#include "curl_nssg.h"
+#include "nssg.h"
 #elif defined(USE_WINDOWS_SSPI)
 #include "curl_sspi.h"
 #endif
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #if DEBUG_ME
 # define DEBUG_OUT(x) x
index 21a9e9e47b4a580165a399ef44b8808b345de3bb..b2783778b36fb94924e7291bc7c1a3e2ef1c6dd3 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_NTLM
 
index 9c1fdf98cb24251f3a11ab329736d56f84e3d859..6b7d9fc466d1859ee4eca264323d9216259f88c4 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_NTLM) && !defined(USE_WINDOWS_SSPI)
 
@@ -91,9 +91,9 @@
 #  error "Can't compile NTLM support without a crypto library."
 #endif
 
-#include "curl_urldata.h"
-#include "curl_non_ascii.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "non-ascii.h"
+#include "rawstr.h"
 #include "curl_memory.h"
 #include "curl_ntlm_core.h"
 
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef USE_SSLEAY
 /*
index 9aa126bb266f688ca4d542c7c7ce7c201552896d..5615b3504473cf24895234c833e65a6d2a310284 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_NTLM) && !defined(USE_WINDOWS_SSPI)
 
index 18a7304a2a649cfe19338e1c1233ce3bfc3adaf3..8e788d733f8ffd603887dead5de1defb612ad7b0 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_NTLM
 
 
 #define DEBUG_ME 0
 
-#include "curl_urldata.h"
-#include "curl_non_ascii.h"
-#include "curl_sendf.h"
+#include "urldata.h"
+#include "non-ascii.h"
+#include "sendf.h"
 #include "curl_base64.h"
 #include "curl_ntlm_core.h"
 #include "curl_gethostname.h"
 #include "curl_multibyte.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 #include "curl_memory.h"
 
 #ifdef USE_WINDOWS_SSPI
 #  include "curl_sspi.h"
 #endif
 
-#include "curl_sslgen.h"
+#include "sslgen.h"
 
 #define BUILDING_CURL_NTLM_MSGS_C
 #include "curl_ntlm_msgs.h"
@@ -56,7 +56,7 @@
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* "NTLMSSP" signature is always in ASCII regardless of the platform */
 #define NTLMSSP_SIGNATURE "\x4e\x54\x4c\x4d\x53\x53\x50"
index e7d185dea50b77ce707feb5f5add956eceb6cbbb..703fb75e1c9f3995e118d2cf1f92e093af01fff5 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_NTLM
 
index 87ac6f48e6dc98e6f69291466266c4727e2385ef..46a51c2c45af54bfa76adb22f945cdc7cdc7d1e2 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_NTLM) && defined(NTLM_WB_ENABLED)
 
 #include <signal.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_select.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "select.h"
 #include "curl_ntlm_wb.h"
-#include "curl_url.h"
-#include "curl_strerror.h"
+#include "url.h"
+#include "strerror.h"
 #include "curl_memory.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #if DEBUG_ME
 # define DEBUG_OUT(x) x
index db6bc16b73c95f6a9616379c47d3484426edd0da..e3eaffe176af7592143feca9d7f3f63895a99365 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_NTLM) && defined(NTLM_WB_ENABLED)
 
index bfd5f1d535758c5db959fc305cac5ce71a7793bc..047b7f345f3b0f99df751ff3bc313fbda672e1ab 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
@@ -31,7 +31,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Private pseudo-random number seed. Unsigned integer >= 32bit. Threads
    mutual exclusion is not implemented to acess it since we do not require
index b8caca0a0a7f224a74f14fd375d223a37823ce49..b87bdf2c7f9a0d8ceded97943e6f868cdfa2a14b 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_LIBRTMP
 
-#include "curl_urldata.h"
-#include "curl_nonblock.h" /* for curlx_nonblock */
-#include "curl_progress.h" /* for Curl_pgrsSetUploadSize */
-#include "curl_transfer.h"
-#include "curl_warnless.h"
+#include "urldata.h"
+#include "nonblock.h" /* for curlx_nonblock */
+#include "progress.h" /* for Curl_pgrsSetUploadSize */
+#include "transfer.h"
+#include "warnless.h"
 #include <curl/curl.h>
 #include <librtmp/rtmp.h>
 
@@ -37,7 +37,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef _WIN32
 #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e)
index 1becc28df2f9f7af525bcae63c528af91b51b5d1..ccb54a89f50ee33f88ee32253329b625c5cff9b9 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
+#include "urldata.h"
 
 #include "curl_base64.h"
 #include "curl_md5.h"
 #include "curl_hmac.h"
 #include "curl_ntlm_msgs.h"
 #include "curl_sasl.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 #include "curl_memory.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef CURL_DISABLE_CRYPTO_AUTH
 /* Retrieves the value for a corresponding key from the challenge string
index fa8ac84ac1e27c360da3b4961f176b012803aa08..469c9a1e44ecd456c8dcac1705319380542db7f1 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_pingpong.h"
+#include "pingpong.h"
 
 /* Authentication mechanism flags */
 #define SASL_MECH_LOGIN         0x0001
index 06095d7194748bd6c532e8777713a8cbd1e8ae98..8cb3af80fa2964eda20c81c2c9f00aa976ffae65 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 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012, 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
 
 /*
  * Source file for all SChannel-specific code for the TLS/SSL layer. No code
- * but curl_sslgen.c should ever call or use these functions.
+ * but sslgen.c should ever call or use these functions.
  *
  */
 
+/*
+ * Based upon the PolarSSL implementation in polarssl.c and polarssl.h:
+ *   Copyright (C) 2010, 2011, Hoi-Ho Chan, <hoiho.chan@gmail.com>
+ *
+ * Based upon the CyaSSL implementation in cyassl.c and cyassl.h:
+ *   Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * Thanks for code and inspiration!
+ */
+
 /*
  * TODO list for TLS/SSL implementation:
  * - implement client certificate authentication
@@ -41,7 +51,7 @@
  *   http://msdn.microsoft.com/en-us/library/windows/desktop/aa380161.aspx
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_SCHANNEL
 
 
 #include "curl_sspi.h"
 #include "curl_schannel.h"
-#include "curl_sslgen.h"
-#include "curl_sendf.h"
-#include "curl_connect.h" /* for the connect timeout */
-#include "curl_strerror.h"
-#include "curl_select.h" /* for the socket readyness */
-#include "curl_inet_pton.h" /* for IP addr SNI check */
+#include "sslgen.h"
+#include "sendf.h"
+#include "connect.h" /* for the connect timeout */
+#include "strerror.h"
+#include "select.h" /* for the socket readyness */
+#include "inet_pton.h" /* for IP addr SNI check */
 #include "curl_multibyte.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Uncomment to force verbose output
  * #define infof(x, y, ...) printf(y, __VA_ARGS__)
index 918670fe03c756a31c40c707bfa02f6fe91af411..37126ac7d04d9b2ef66c43ae898907f86f859bd5 100644 (file)
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_SCHANNEL
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 #ifndef UNISP_NAME_A
 #define UNISP_NAME_A "Microsoft Unified Security Protocol Provider"
index 40a0af1e4f95dd23aff0e3f67915c14d0b490a86..c3c41ec2f7dd6409178ea884155f36bb25915374 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_WINDOWS_SSPI
 
@@ -33,7 +33,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* We use our own typedef here since some headers might lack these */
 typedef PSecurityFunctionTable (APIENTRY *INITSECURITYINTERFACE_FN)(VOID);
index d52582856428d257b6f59ab4dcef6ea0977df7ad..c3e6d9760ccdac03852dbd978a5c3d7a8245df90 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_WINDOWS_SSPI
 
index 8bbf0af98960585a35a02977b71f30ef6d48cac5..411ccc81d175182fbdee74712c70e705334ba418 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_THREADS_POSIX)
 #  ifdef HAVE_PTHREAD_H
@@ -39,7 +39,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #if defined(USE_THREADS_POSIX)
 
index d9cec6b294197cd3fcae28931a8b0d472d07eb56..ba81054a25c6e076d6a258b26780f89cef50fa78 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_THREADS_POSIX)
 #  define CURL_STDCALL
index 42c62958d62b64fc839a2249b4c65e3d0bd604cf..9dc90a004bd0871b14e83441a1beb40de8aaf3ff 100644 (file)
    functions while they still are offered publicly. They will be made library-
    private one day */
 
-#include "curl_strequal.h"
-/* "curl_strequal.h" provides the strequal protos */
+#include "strequal.h"
+/* "strequal.h" provides the strequal protos */
 
-#include "curl_strtoofft.h"
-/* "curl_strtoofft.h" provides this function: curlx_strtoofft(), returns a
+#include "strtoofft.h"
+/* "strtoofft.h" provides this function: curlx_strtoofft(), returns a
    curl_off_t number from a given string.
 */
 
-#include "curl_timeval.h"
+#include "timeval.h"
 /*
-  "curl_timeval.h" sets up a 'struct timeval' even for platforms that
-   otherwise don't have one and has protos for these functions:
+  "timeval.h" sets up a 'struct timeval' even for platforms that otherwise
+  don't have one and has protos for these functions:
 
   curlx_tvnow()
   curlx_tvdiff()
   curlx_tvdiff_secs()
 */
 
-#include "curl_nonblock.h"
-/* "curl_nonblock.h" provides curlx_nonblock() */
+#include "nonblock.h"
+/* "nonblock.h" provides curlx_nonblock() */
 
-#include "curl_warnless.h"
-/* "curl_warnless.h" provides functions:
+#include "warnless.h"
+/* "warnless.h" provides functions:
 
   curlx_ultous()
   curlx_ultouc()
similarity index 97%
rename from lib/curl_cyassl.c
rename to lib/cyassl.c
index 32f1cfe5c337e2b268bfa477c85aabd1c35ce833..13c0d135d95b17f36c2b50b2a8ba0789253e1fa9 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
 
 /*
  * Source file for all CyaSSL-specific code for the TLS/SSL layer. No code
- * but curl_sslgen.c should ever call or use these functions.
+ * but sslgen.c should ever call or use these functions.
  *
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_CYASSL
 
 #include <limits.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_inet_pton.h"
-#include "curl_cyassl.h"
-#include "curl_sslgen.h"
-#include "curl_parsedate.h"
-#include "curl_connect.h" /* for the connect timeout */
-#include "curl_select.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "inet_pton.h"
+#include "cyassl.h"
+#include "sslgen.h"
+#include "parsedate.h"
+#include "connect.h" /* for the connect timeout */
+#include "select.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 #include <cyassl/ssl.h>
 #include <cyassl/error.h>
 
similarity index 99%
rename from lib/curl_cyassl.h
rename to lib/cyassl.h
index 7728a0cf57a098905781d68613de214f24abb2f8..56d68066f99385d7c0071dbe983aad7f9ab2bc70 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_CYASSL
 
similarity index 97%
rename from lib/curl_dict.c
rename to lib/dict.c
index 114ef7c72bf02f62c97f3608c60b1122e37d7dd0..ca5c362b18ca9a1102740e2c3414f71b1e36f531 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_DICT
 
 #include <sys/select.h>
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sendf.h"
+#include "transfer.h"
+#include "sendf.h"
 
-#include "curl_progress.h"
-#include "curl_strequal.h"
-#include "curl_dict.h"
-#include "curl_rawstr.h"
+#include "progress.h"
+#include "strequal.h"
+#include "dict.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Forward declarations.
similarity index 100%
rename from lib/curl_dict.h
rename to lib/dict.h
similarity index 97%
rename from lib/curl_easy.c
rename to lib/easy.c
index a2181cc4d58697ea1e64d98ae24f514c24103b50..b73bf6601885adefd43e1503cd898e13ed1c1d50 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #include <sys/param.h>
 #endif
 
-#include "curl_strequal.h"
-#include "curl_urldata.h"
+#include "strequal.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sslgen.h"
-#include "curl_url.h"
-#include "curl_getinfo.h"
-#include "curl_hostip.h"
-#include "curl_share.h"
-#include "curl_strdup.h"
+#include "transfer.h"
+#include "sslgen.h"
+#include "url.h"
+#include "getinfo.h"
+#include "hostip.h"
+#include "share.h"
+#include "strdup.h"
 #include "curl_memory.h"
-#include "curl_progress.h"
-#include "curl_easyif.h"
-#include "curl_select.h"
-#include "curl_sendf.h" /* for failf function prototype */
+#include "progress.h"
+#include "easyif.h"
+#include "select.h"
+#include "sendf.h" /* for failf function prototype */
 #include "curl_ntlm.h"
-#include "curl_connect.h" /* for Curl_getconnectinfo */
-#include "curl_slist.h"
-#include "curl_amigaos.h"
+#include "connect.h" /* for Curl_getconnectinfo */
+#include "slist.h"
+#include "amigaos.h"
 #include "curl_rand.h"
-#include "curl_non_ascii.h"
-#include "curl_warnless.h"
-#include "curl_conncache.h"
+#include "non-ascii.h"
+#include "warnless.h"
+#include "conncache.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* win32_cleanup() is for win32 socket cleanup functionality, the opposite
    of win32_init() */
similarity index 90%
rename from lib/curl_easyif.h
rename to lib/easyif.h
index ed744db0816628ef3e907a268b916c56b6c185ba..1f521689f6be8cdda9b9ae3129a8a0a9838524cc 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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 curl_easy.c
+ * Prototypes for library-wide functions provided by easy.c
  */
 void Curl_easy_addmulti(struct SessionHandle *data, void *multi);
 
similarity index 96%
rename from lib/curl_escape.c
rename to lib/escape.c
index c0ed571bdbd121a8860cd2b4a37a0e9eed029d35..0dd5a1d0a687194492b2c38b54007de3e0775530 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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
 /* Escape and unescape URL encoding in strings. The functions return a new
  * allocated string or NULL if an error occurred.  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
 #include "curl_memory.h"
-#include "curl_urldata.h"
-#include "curl_warnless.h"
-#include "curl_non_ascii.h"
-#include "curl_escape.h"
+#include "urldata.h"
+#include "warnless.h"
+#include "non-ascii.h"
+#include "escape.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Portable character check (remember EBCDIC). Do not use isalnum() because
    its behavior is altered by the current locale.
similarity index 100%
rename from lib/curl_escape.h
rename to lib/escape.h
similarity index 97%
rename from lib/curl_file.c
rename to lib/file.c
index 6ea2bd7698cf5bd78288ee13082b6e73119705cb..886a09e2498754f2c484404f588afb50a1c51409 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FILE
 
 #include <fcntl.h>
 #endif
 
-#include "curl_strtoofft.h"
-#include "curl_urldata.h"
+#include "strtoofft.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_progress.h"
-#include "curl_sendf.h"
-#include "curl_escape.h"
-#include "curl_file.h"
-#include "curl_speedcheck.h"
-#include "curl_getinfo.h"
-#include "curl_transfer.h"
-#include "curl_url.h"
+#include "progress.h"
+#include "sendf.h"
+#include "escape.h"
+#include "file.h"
+#include "speedcheck.h"
+#include "getinfo.h"
+#include "transfer.h"
+#include "url.h"
 #include "curl_memory.h"
-#include "curl_parsedate.h" /* for the week day and month names */
-#include "curl_warnless.h"
+#include "parsedate.h" /* for the week day and month names */
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #if defined(WIN32) || defined(MSDOS) || defined(__EMX__) || \
   defined(__SYMBIAN32__)
similarity index 100%
rename from lib/curl_file.h
rename to lib/file.h
similarity index 93%
rename from lib/curl_fileinfo.c
rename to lib/fileinfo.c
index 433c709b5b9f9787e0d44fc24421cce9b735e49a..4ffcbbe2983eb774e93ee5620175c2b7c35cb25b 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_strdup.h"
-#include "curl_fileinfo.h"
+#include "strdup.h"
+#include "fileinfo.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 struct curl_fileinfo *Curl_fileinfo_alloc(void)
 {
similarity index 100%
rename from lib/curl_fileinfo.h
rename to lib/fileinfo.h
similarity index 99%
rename from lib/curl_formdata.c
rename to lib/formdata.c
index c7d85c4b4150539ba583ffc61c331c2e7156f4f1..7bf8839414a826b3a96c6d4d232f396ee0d30f01 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
 #include <libgen.h>
 #endif
 
-#include "curl_urldata.h" /* for struct SessionHandle */
-#include "curl_formdata.h"
+#include "urldata.h" /* for struct SessionHandle */
+#include "formdata.h"
 #include "curl_rand.h"
-#include "curl_strequal.h"
+#include "strequal.h"
 #include "curl_memory.h"
-#include "curl_sendf.h"
+#include "sendf.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #endif  /* !defined(CURL_DISABLE_HTTP) || defined(USE_SSLEAY) */
 
@@ -857,8 +857,8 @@ static CURLcode AddFormDataf(struct FormData **formp,
 }
 
 /*
- * Curl_formclean() is used from curl_http.c, this cleans a built FormData
- * linked list
+ * Curl_formclean() is used from http.c, this cleans a built FormData linked
+ * list
  */
 void Curl_formclean(struct FormData **form_ptr)
 {
similarity index 100%
rename from lib/curl_formdata.h
rename to lib/formdata.h
similarity index 99%
rename from lib/curl_ftp.c
rename to lib/ftp.c
index 653e30b66f7491c124cf9fb4fb419dcb4d2c130f..dc24d0bb5da45bad66ae4b90194a44ecd1b305e2 100644 (file)
+++ b/lib/ftp.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FTP
 
 #endif
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_if2ip.h"
-#include "curl_hostip.h"
-#include "curl_progress.h"
-#include "curl_transfer.h"
-#include "curl_escape.h"
-#include "curl_http.h" /* for HTTP proxy tunnel stuff */
-#include "curl_socks.h"
-#include "curl_ftp.h"
-#include "curl_fileinfo.h"
-#include "curl_ftplistparser.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "if2ip.h"
+#include "hostip.h"
+#include "progress.h"
+#include "transfer.h"
+#include "escape.h"
+#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "socks.h"
+#include "ftp.h"
+#include "fileinfo.h"
+#include "ftplistparser.h"
 
 #if defined(HAVE_KRB4) || defined(HAVE_GSSAPI)
-#include "curl_krb4.h"
+#include "krb4.h"
 #endif
 
-#include "curl_strtoofft.h"
-#include "curl_strequal.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_inet_ntop.h"
-#include "curl_inet_pton.h"
-#include "curl_select.h"
-#include "curl_parsedate.h" /* for the week day and month names */
-#include "curl_sockaddr.h" /* required for Curl_sockaddr_storage */
-#include "curl_multiif.h"
-#include "curl_url.h"
-#include "curl_rawstr.h"
-#include "curl_speedcheck.h"
-#include "curl_warnless.h"
-#include "curl_http_proxy.h"
-#include "curl_non_ascii.h"
+#include "strtoofft.h"
+#include "strequal.h"
+#include "sslgen.h"
+#include "connect.h"
+#include "strerror.h"
+#include "inet_ntop.h"
+#include "inet_pton.h"
+#include "select.h"
+#include "parsedate.h" /* for the week day and month names */
+#include "sockaddr.h" /* required for Curl_sockaddr_storage */
+#include "multiif.h"
+#include "url.h"
+#include "rawstr.h"
+#include "speedcheck.h"
+#include "warnless.h"
+#include "http_proxy.h"
+#include "non-ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef NI_MAXHOST
 #define NI_MAXHOST 1025
@@ -3109,7 +3109,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
 }
 
 
-/* called repeatedly until done from curl_multi.c */
+/* called repeatedly until done from 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 curl_multi.c while DOing */
+/* called from multi.c while DOing */
 static CURLcode ftp_doing(struct connectdata *conn,
                           bool *dophase_done)
 {
similarity index 96%
rename from lib/curl_ftp.h
rename to lib/ftp.h
index 7e502679227deb22734bdfd59c9a323d44a9d295..d359f28f35a8669537c13e7190470dbd8d2334d2 100644 (file)
+++ b/lib/ftp.h
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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 @@
  *
  ***************************************************************************/
 
-#include "curl_pingpong.h"
+#include "pingpong.h"
 
 #ifndef CURL_DISABLE_FTP
 extern const struct Curl_handler Curl_handler_ftp;
@@ -79,7 +79,7 @@ typedef enum {
   FTP_LAST  /* never used */
 } ftpstate;
 
-struct ftp_parselist_data; /* defined later in curl_ftplistparser.c */
+struct ftp_parselist_data; /* defined later in 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 curl_ftp.c:state() to change state! */
+  ftpstate state; /* always use 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 */
similarity index 99%
rename from lib/curl_ftplistparser.c
rename to lib/ftplistparser.c
index a1a7d5187a198c6ed129280b3c749d4a3e4edbda..49ee4b6a6e5009e11522d21f44d14930d7520070 100644 (file)
  * 01-29-97 11:32PM <DIR> prog
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FTP
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_fileinfo.h"
-#include "curl_llist.h"
-#include "curl_strtoofft.h"
-#include "curl_rawstr.h"
-#include "curl_ftp.h"
-#include "curl_ftplistparser.h"
+#include "urldata.h"
+#include "fileinfo.h"
+#include "llist.h"
+#include "strtoofft.h"
+#include "rawstr.h"
+#include "ftp.h"
+#include "ftplistparser.h"
 #include "curl_fnmatch.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
@@ -55,7 +55,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* allocs buffer which will contain one line of LIST command response */
 #define FTP_BUFFER_ALLOCSIZE 160
similarity index 98%
rename from lib/curl_ftplistparser.h
rename to lib/ftplistparser.h
index 96764e2a41a119ee1862a833d7a94793e3db49a5..8499ccda4d394a14fc1fda97596c80c766d60860 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FTP
 
similarity index 97%
rename from lib/curl_getenv.c
rename to lib/getenv.c
index cf8b0361958ec7f52569b615788c8ecfa477511c..a2d69830e19b247053d928d9a68c3690d3caab8d 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef __VMS
 #include <unixlib.h>
@@ -29,7 +29,7 @@
 #include <curl/curl.h>
 #include "curl_memory.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static
 char *GetEnv(const char *variable)
similarity index 97%
rename from lib/curl_getinfo.c
rename to lib/getinfo.c
index 0404c28ea4034400b38d106deee56aa8c86cadfe..221f05a4fab8256a6934894a53cf21e32f7e2c3e 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_getinfo.h"
+#include "urldata.h"
+#include "getinfo.h"
 
 #include "curl_memory.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h" /* Curl_getconnectinfo() */
-#include "curl_progress.h"
+#include "sslgen.h"
+#include "connect.h" /* Curl_getconnectinfo() */
+#include "progress.h"
 
 /* Make this the last #include */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * This is supposed to be called in the beginning of a perform() session
similarity index 100%
rename from lib/curl_getinfo.h
rename to lib/getinfo.h
similarity index 94%
rename from lib/curl_gopher.c
rename to lib/gopher.c
index 80fc18e8e4130644113803ff82120ed9de5200c5..e8f2790fc485409d99d235c1de4dd58be8d6c07f 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_GOPHER
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sendf.h"
+#include "transfer.h"
+#include "sendf.h"
 
-#include "curl_progress.h"
-#include "curl_strequal.h"
-#include "curl_gopher.h"
-#include "curl_rawstr.h"
-#include "curl_select.h"
-#include "curl_url.h"
-#include "curl_warnless.h"
+#include "progress.h"
+#include "strequal.h"
+#include "gopher.h"
+#include "rawstr.h"
+#include "select.h"
+#include "url.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Forward declarations.
similarity index 100%
rename from lib/curl_gopher.h
rename to lib/gopher.h
similarity index 98%
rename from lib/curl_gtls.c
rename to lib/gtls.c
index 5c9d165e7816a423dfa6bc0cd863a9371196b1c5..8c2a4a0c924d002d80a768bcf3874919ba904343 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
 
 /*
  * Source file for all GnuTLS-specific code for the TLS/SSL layer. No code
- * but curl_sslgen.c should ever call or use these functions.
+ * but 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.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_GNUTLS
 
 #include <gcrypt.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_inet_pton.h"
-#include "curl_gtls.h"
-#include "curl_sslgen.h"
-#include "curl_parsedate.h"
-#include "curl_connect.h" /* for the connect timeout */
-#include "curl_select.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "inet_pton.h"
+#include "gtls.h"
+#include "sslgen.h"
+#include "parsedate.h"
+#include "connect.h" /* for the connect timeout */
+#include "select.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  Some hackish cast macros based on:
@@ -94,7 +94,7 @@ static bool gtls_inited = FALSE;
 /*
  * Custom push and pull callback functions used by GNU TLS to read and write
  * to the socket.  These functions are simple wrappers to send() and recv()
- * (although here using sread/swrite macros as defined by curl_setup_once.h).
+ * (although here using the sread/swrite macros as defined by setup_once.h).
  * We use custom functions rather than the GNU TLS defaults because it allows
  * us to get specific about the fourth "flags" argument, and to use arbitrary
  * private data with gnutls_transport_set_ptr if we wish.
similarity index 98%
rename from lib/curl_gtls.h
rename to lib/gtls.h
index 83cfac7fd0b0c31e2520b4a7bcaede462d80ae63..45b755a0e18e33a420a7747dea35e27d96eef15e 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_GNUTLS
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 int Curl_gtls_init(void);
 int Curl_gtls_cleanup(void);
similarity index 98%
rename from lib/curl_hash.c
rename to lib/hash.c
index 732dbcf73a9f6da28604fd86c2e8681b582af946..b59e56146741ef2d277c57d0401c78602f6d7c11 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_hash.h"
-#include "curl_llist.h"
+#include "hash.h"
+#include "llist.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static void
 hash_element_dtor(void *user, void *element)
similarity index 98%
rename from lib/curl_hash.h
rename to lib/hash.h
index 68e7933abaac274ed340a08f14cd1a7bf3d43f3f..3fa621cb1d333c77d2c91a7ecc70787ea4408379 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <stddef.h>
 
-#include "curl_llist.h"
+#include "llist.h"
 
 /* Hash function prototype */
 typedef size_t (*hash_function) (void* key,
similarity index 98%
rename from lib/curl_hmac.c
rename to lib/hmac.c
index 692d2794083948e3cbf299a267b08debe14a90e1..4df6f79add8580c5750c41571a38a897b1ca1e49 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_CRYPTO_AUTH
 
@@ -33,7 +33,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Generic HMAC algorithm.
similarity index 95%
rename from lib/curl_hostasyn.c
rename to lib/hostasyn.c
index 0097b6cfd7c29308b052206967c699935f1b681b..93e2c31cd0ede1a5f0a4663fda7b32274417bdaf 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #include <process.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /***********************************************************************
  * Only for builds using asynchronous name resolves
similarity index 97%
rename from lib/curl_hostcheck.c
rename to lib/hostcheck.c
index a5bf8b02f0bc4e2b2c605ee67ab30207f60753af..8affce044c485cd50b00cd24161906371663dd19 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_SSLEAY) || defined(USE_AXTLS)
 /* these two backends use functions from this file */
 
-#include "curl_hostcheck.h"
-#include "curl_rawstr.h"
+#include "hostcheck.h"
+#include "rawstr.h"
 
 /*
  * Match a hostname against a wildcard pattern.
similarity index 100%
rename from lib/curl_hostcheck.h
rename to lib/hostcheck.h
similarity index 95%
rename from lib/curl_hostip.c
rename to lib/hostip.c
index 7cc51f899a5cfc9f53d06fc06d6e16588b7fd0e1..2bfb74b42727d2661d1bdd284138118ca0f17536 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #include <process.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
-#include "curl_inet_ntop.h"
-#include "curl_warnless.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
+#include "inet_ntop.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #if defined(CURLRES_SYNCH) && \
     defined(HAVE_ALARM) && defined(SIGALRM) && defined(HAVE_SIGSETJMP)
 #endif
 
 /*
- * curl_hostip.c explained
- * =======================
+ * hostip.c explained
+ * ==================
  *
- * The main COMPILE-TIME DEFINES to keep in mind when reading the curl_host*.c
+ * The main COMPILE-TIME DEFINES to keep in mind when reading the 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 curl_host*.c sources files are split up like this:
+ * The host*.c sources files are split up like this:
  *
- * 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
+ * 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
  *
  * The two asynchronous name resolver backends are implemented in:
- * curl_asyn_ares.c   - functions for ares-using name resolves
- * curl_asyn_thread.c - functions for threaded name resolves
+ * asyn-ares.c   - functions for ares-using name resolves
+ * 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.
+ * The hostip.h is the united header file for all this. It defines the
+ * CURLRES_* defines based on the config*.h and setup.h defines.
  */
 
 /* These two symbols are for the global DNS cache */
similarity index 97%
rename from lib/curl_hostip.h
rename to lib/hostip.h
index 30c738d726331e04c5c7f3b7c88ec8dba3341a5b..de71f54f448d5fdefd616e1fd0aa225b989f9dc5 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
-#include "curl_hash.h"
+#include "setup.h"
+#include "hash.h"
 #include "curl_addrinfo.h"
-#include "curl_asyn.h"
+#include "asyn.h"
 
 #ifdef HAVE_SETJMP_H
 #include <setjmp.h>
@@ -187,7 +187,7 @@ Curl_cache_addr(struct SessionHandle *data, Curl_addrinfo *addr,
 #endif
 
 #ifdef HAVE_SIGSETJMP
-/* Forward-declaration of variable defined in curl_hostip.c. Beware this
+/* Forward-declaration of variable defined in 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.
similarity index 97%
rename from lib/curl_hostip4.c
rename to lib/hostip4.c
index 5b64b467339591b07ea60cecb8596a838b1ebb1d..3babe72691bd29e2a6942a2f0ab13df86acba0ff 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #include <process.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
-#include "curl_inet_pton.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
+#include "inet_pton.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /***********************************************************************
  * Only for plain-ipv4 builds
similarity index 92%
rename from lib/curl_hostip6.c
rename to lib/hostip6.c
index cfd6081c195d3b132e29f22d907970c62be8b19f..5b25d6fc408b4bf92353c0bb60104ac7b2f9a50b 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #include <process.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
-#include "curl_inet_pton.h"
-#include "curl_connect.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
+#include "inet_pton.h"
+#include "connect.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /***********************************************************************
  * Only for ipv6-enabled builds
@@ -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 curl_memdebug.c. I put these ones here since
- * they require a bunch of structs I didn't want to include there.
+ * 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
  */
 
 /*
similarity index 89%
rename from lib/curl_hostsyn.c
rename to lib/hostsyn.c
index 9a26f8d44e7e7910e53d81d29f9a27f4044e8d34..eff2efa7bf816737a69a2704cd8889d1cc021d25 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #include <process.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_share.h"
-#include "curl_strerror.h"
-#include "curl_url.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "hash.h"
+#include "share.h"
+#include "strerror.h"
+#include "url.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /***********************************************************************
  * Only for builds using synchronous name resolves
similarity index 98%
rename from lib/curl_http.c
rename to lib/http.c
index 420361c769b6df8bc434502bfdcf2e36192dc100..0013e50654d0a55cb3773a1542fbcc0d3708bd5d 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_HTTP
 
 #include <sys/param.h>
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sendf.h"
-#include "curl_formdata.h"
-#include "curl_progress.h"
+#include "transfer.h"
+#include "sendf.h"
+#include "formdata.h"
+#include "progress.h"
 #include "curl_base64.h"
-#include "curl_cookie.h"
-#include "curl_strequal.h"
-#include "curl_sslgen.h"
-#include "curl_http_digest.h"
+#include "cookie.h"
+#include "strequal.h"
+#include "sslgen.h"
+#include "http_digest.h"
 #include "curl_ntlm.h"
 #include "curl_ntlm_wb.h"
-#include "curl_http_negotiate.h"
-#include "curl_url.h"
-#include "curl_share.h"
-#include "curl_hostip.h"
-#include "curl_http.h"
+#include "http_negotiate.h"
+#include "url.h"
+#include "share.h"
+#include "hostip.h"
+#include "http.h"
 #include "curl_memory.h"
-#include "curl_select.h"
-#include "curl_parsedate.h" /* for the week day and month names */
-#include "curl_strtoofft.h"
-#include "curl_multiif.h"
-#include "curl_rawstr.h"
-#include "curl_content_encoding.h"
-#include "curl_http_proxy.h"
-#include "curl_warnless.h"
-#include "curl_non_ascii.h"
+#include "select.h"
+#include "parsedate.h" /* for the week day and month names */
+#include "strtoofft.h"
+#include "multiif.h"
+#include "rawstr.h"
+#include "content_encoding.h"
+#include "http_proxy.h"
+#include "warnless.h"
+#include "non-ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Forward declarations.
@@ -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 curl_transfer.c main loop and in
- * the proxy CONNECT loop.
+ * headers. They are dealt with both in the 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
- * curl_transfer.c loop when more data is to be sent to the peer.
+ * 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 curl_formdata.c) is sent later */
+                /* this header (extended by 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 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. */
+  /* 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. */
   if(Curl_checkheaders(data, "User-Agent:") && conn->allocptr.uagent) {
     free(conn->allocptr.uagent);
     conn->allocptr.uagent=NULL;
similarity index 97%
rename from lib/curl_http.h
rename to lib/http.h
index f654689d5ca4b9919223280c3dfe46fc36a07a93..7236dd88cacb825c05010e080b85e6d342855442 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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 curl_http_chunks.c */
+/* The following functions are defined in 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 curl_http.c */
+/* These functions are in 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);
similarity index 96%
rename from lib/curl_http_chunks.c
rename to lib/http_chunks.c
index 2112f72ec7c5d9404e282294def17435f89e9bd0..d6a0bec13363ec2b44f8615dff8ac4737563fe49 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_HTTP
 
-#include "curl_urldata.h" /* it includes curl_http_chunks.h */
-#include "curl_sendf.h"   /* for the client write stuff */
+#include "urldata.h" /* it includes http_chunks.h */
+#include "sendf.h"   /* for the client write stuff */
 
-#include "curl_content_encoding.h"
-#include "curl_http.h"
+#include "content_encoding.h"
+#include "http.h"
 #include "curl_memory.h"
-#include "curl_non_ascii.h" /* for Curl_convert_to_network prototype */
+#include "non-ascii.h" /* for Curl_convert_to_network prototype */
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Chunk format (simplified):
@@ -315,7 +315,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
         }
       }
       else {
-        /* conn->trailer is assumed to be freed in curl_url.c on a
+        /* conn->trailer is assumed to be freed in url.c on a
            connection basis */
         if(conn->trlPos >= conn->trlMax) {
           /* we always allocate three extra bytes, just because when the full
similarity index 100%
rename from lib/curl_http_chunks.h
rename to lib/http_chunks.h
similarity index 97%
rename from lib/curl_http_digest.c
rename to lib/http_digest.c
index dae67990345fd65b41c3f161201e52489c37a655..17cc95e812c74af923c71c1c340574d515cbaed0 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_CRYPTO_AUTH)
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "rawstr.h"
 #include "curl_base64.h"
 #include "curl_md5.h"
-#include "curl_http_digest.h"
-#include "curl_strtok.h"
-#include "curl_url.h"
+#include "http_digest.h"
+#include "strtok.h"
+#include "url.h" /* for Curl_safefree() */
 #include "curl_memory.h"
-#include "curl_non_ascii.h" /* included for Curl_convert_... prototypes */
-#include "curl_warnless.h"
+#include "non-ascii.h" /* included for Curl_convert_... prototypes */
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define MAX_VALUE_LENGTH 256
 #define MAX_CONTENT_LENGTH 1024
similarity index 98%
rename from lib/curl_http_digest.h
rename to lib/http_digest.h
index c6a4e916107f607f9f57e2ddaaa94807d3a9459d..3b22ce10eaf2801c591f4a78368bb4d76018f7fc 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 typedef enum {
   CURLDIGEST_NONE, /* not a digest */
similarity index 98%
rename from lib/curl_http_negotiate.c
rename to lib/http_negotiate.c
index 446c49bb9357b1f4e3b7e513a3ece546a55a97ec..92c363d7cd0794b83424c98565cf45f82ff72a4a 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_GSSAPI
 #ifdef HAVE_OLD_GSSMIT
 
 #ifndef CURL_DISABLE_HTTP
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
+#include "urldata.h"
+#include "sendf.h"
 #include "curl_gssapi.h"
-#include "curl_rawstr.h"
+#include "rawstr.h"
 #include "curl_base64.h"
-#include "curl_http_negotiate.h"
+#include "http_negotiate.h"
 #include "curl_memory.h"
-#include "curl_url.h"
+#include "url.h"
 
 #ifdef HAVE_SPNEGO
 #  include <spnegohelp.h>
@@ -56,7 +56,7 @@
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static int
 get_gss_name(struct connectdata *conn, bool proxy, gss_name_t *server)
similarity index 97%
rename from lib/curl_http_negotiate_sspi.c
rename to lib/http_negotiate_sspi.c
index d82b27110e992c0a2d7fbcca189ed85fd4a4495a..5aa4f9433b6d5540ca7d6e499af685f3adcecd9f 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_WINDOWS_SSPI
 
 #ifndef CURL_DISABLE_HTTP
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
-#include "curl_warnless.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "rawstr.h"
+#include "warnless.h"
 #include "curl_base64.h"
-#include "curl_http_negotiate.h"
+#include "http_negotiate.h"
 #include "curl_memory.h"
 #include "curl_multibyte.h"
 
@@ -39,7 +39,7 @@
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static int
 get_gss_name(struct connectdata *conn, bool proxy,
similarity index 98%
rename from lib/curl_http_proxy.c
rename to lib/http_proxy.c
index 14ef9dc1e3f9fdf0fc833dfac1d45d83588a7e1a..d2e1aa199b86c0b8415f96723f36af0935a516d5 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_http_proxy.h"
-#include "curl_sendf.h"
-#include "curl_http.h"
-#include "curl_url.h"
-#include "curl_select.h"
-#include "curl_rawstr.h"
-#include "curl_progress.h"
-#include "curl_non_ascii.h"
-#include "curl_connect.h"
+#include "http_proxy.h"
+#include "sendf.h"
+#include "http.h"
+#include "url.h"
+#include "select.h"
+#include "rawstr.h"
+#include "progress.h"
+#include "non-ascii.h"
+#include "connect.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
@@ -43,7 +43,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 CURLcode Curl_proxy_connect(struct connectdata *conn)
 {
similarity index 100%
rename from lib/curl_http_proxy.h
rename to lib/http_proxy.h
similarity index 97%
rename from lib/curl_idn_win32.c
rename to lib/idn_win32.c
index eca2254837cfa037e2dcab6efb8ba9d80de1c573..9bc9cb810b69d3a40910dd9546497595ba2f8789 100644 (file)
@@ -24,7 +24,7 @@
   * IDN conversions using Windows kernel32 and normaliz libraries.
   */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_WIN32_IDN
 
@@ -32,7 +32,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef WANT_IDN_PROTOTYPES
 WINBASEAPI int WINAPI IdnToAscii(DWORD, const WCHAR *, int, WCHAR *, int);
similarity index 97%
rename from lib/curl_if2ip.c
rename to lib/if2ip.c
index db9c784464eb5a424f515062aa33adbe3bc80b28..c1905d1757d84b2bb56daf63498e3cd8f4da32df 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #  include <netinet/in.h>
 #  include <inet.h>
 #endif
 
-#include "curl_inet_ntop.h"
-#include "curl_strequal.h"
-#include "curl_if2ip.h"
+#include "inet_ntop.h"
+#include "strequal.h"
+#include "if2ip.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* ------------------------------------------------------------------ */
 
similarity index 98%
rename from lib/curl_if2ip.h
rename to lib/if2ip.h
index 858ec2f5b3b9b608a37012466d8873d3bb873111..70842457cde772c54219ff9f3a95c536d0e633b4 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 bool Curl_if_is_interface_name(const char *interf);
 char *Curl_if2ip(int af, const char *interf, char *buf, int buf_size);
similarity index 97%
rename from lib/curl_imap.c
rename to lib/imap.c
index 8175daa1a915bd846d3057e1fcbdc49178c8cf5c..ab11464fba007cb995e23d75061b6478c86f26cf 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_IMAP
 
 #endif
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_if2ip.h"
-#include "curl_hostip.h"
-#include "curl_progress.h"
-#include "curl_transfer.h"
-#include "curl_escape.h"
-#include "curl_http.h" /* for HTTP proxy tunnel stuff */
-#include "curl_socks.h"
-#include "curl_imap.h"
-
-#include "curl_strtoofft.h"
-#include "curl_strequal.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_select.h"
-#include "curl_multiif.h"
-#include "curl_url.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "if2ip.h"
+#include "hostip.h"
+#include "progress.h"
+#include "transfer.h"
+#include "escape.h"
+#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "socks.h"
+#include "imap.h"
+
+#include "strtoofft.h"
+#include "strequal.h"
+#include "sslgen.h"
+#include "connect.h"
+#include "strerror.h"
+#include "select.h"
+#include "multiif.h"
+#include "url.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Local API functions */
 static CURLcode imap_parse_url_path(struct connectdata *conn);
@@ -718,7 +718,7 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
   return result;
 }
 
-/* Called repeatedly until done from curl_multi.c */
+/* Called repeatedly until done from 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 curl_multi.c while DOing */
+/* Called from multi.c while DOing */
 static CURLcode imap_doing(struct connectdata *conn, bool *dophase_done)
 {
   CURLcode result = imap_multi_statemach(conn, dophase_done);
similarity index 92%
rename from lib/curl_imap.h
rename to lib/imap.h
index 62fb126a5a670fbd744763bbaa90067c3b05cd08..4cd6bc76ae6d59f603803aaeabf0b59187648f27 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2009 - 2012, 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 @@
  *
  ***************************************************************************/
 
-#include "curl_pingpong.h"
+#include "pingpong.h"
 
 /****************************************************************************
  * IMAP unique setup
@@ -46,7 +46,7 @@ typedef enum {
 struct imap_conn {
   struct pingpong pp;
   char *mailbox;     /* Message ID to fetch */
-  imapstate state;   /* Always use curl_imap.c:state() to change state! */
+  imapstate state;   /* Always use 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
similarity index 99%
rename from lib/curl_inet_ntop.c
rename to lib/inet_ntop.c
index b184029f6d301dd9c3de4d51cebbfa278c7c965b..1ff975667805b85de11026cc2a77f7f07e8d38e1 100644 (file)
@@ -18,7 +18,7 @@
  * Original code by Paul Vixie. "curlified" by Gisle Vanem.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef HAVE_INET_NTOP
 
@@ -35,7 +35,7 @@
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
-#include "curl_inet_ntop.h"
+#include "inet_ntop.h"
 
 #define IN6ADDRSZ       16
 #define INADDRSZ         4
similarity index 98%
rename from lib/curl_inet_ntop.h
rename to lib/inet_ntop.h
index db28ed807aac1e853111c7bb99c9c6c9e5773832..dbc146d918e0e111bb40ba0e42d3cfbe4e1b9cba 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size);
 
similarity index 99%
rename from lib/curl_inet_pton.c
rename to lib/inet_pton.c
index 175f938cddf1d974204da455b9c4b27be127b336..d7fbbe9574f422b788e686f4ccb9623cba25d56f 100644 (file)
@@ -16,7 +16,7 @@
  * SOFTWARE.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef HAVE_INET_PTON
 
@@ -30,7 +30,7 @@
 #include <arpa/inet.h>
 #endif
 
-#include "curl_inet_pton.h"
+#include "inet_pton.h"
 
 #define IN6ADDRSZ       16
 #define INADDRSZ         4
similarity index 98%
rename from lib/curl_inet_pton.h
rename to lib/inet_pton.h
index 43c549143076e41460738191ecd090deb3f339fd..f991473d6b38dd297f1adb6fb3fc6b934efef164 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 int Curl_inet_pton(int, const char *, void *);
 
similarity index 98%
rename from lib/curl_krb4.c
rename to lib/krb4.c
index 8ba326ed791d1cb03a5ebd82ddac006228da8522..58354b602cdc9e2ac5067bbd51b6d0959ab01c4d 100644 (file)
@@ -39,7 +39,7 @@
  *
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FTP
 #ifdef HAVE_KRB4
 #include <krb.h>
 #include <des.h>
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include "curl_base64.h"
-#include "curl_ftp.h"
-#include "curl_sendf.h"
-#include "curl_krb4.h"
-#include "curl_inet_ntop.h"
+#include "ftp.h"
+#include "sendf.h"
+#include "krb4.h"
+#include "inet_ntop.h"
 #include "curl_memory.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define LOCAL_ADDR (&conn->local_addr)
 #define REMOTE_ADDR conn->ip_addr->ai_addr
similarity index 100%
rename from lib/curl_krb4.h
rename to lib/krb4.h
similarity index 97%
rename from lib/curl_krb5.c
rename to lib/krb5.c
index d793fef02819348e19b6f3da41a709bb1753521d..c51041ddafeb1f43dde21a6bc1daf9fafd7c925a 100644 (file)
@@ -1,8 +1,8 @@
-/* GSSAPI/krb5 support for FTP - loosely based on old curl_krb4.c
+/* GSSAPI/krb5 support for FTP - loosely based on old krb4.c
  *
  * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden).
- * Copyright (c) 2004 - 2013 Daniel Stenberg
+ * Copyright (c) 2004 - 2012 Daniel Stenberg
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FTP
 #ifdef HAVE_GSSAPI
 #include <netdb.h>
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include "curl_base64.h"
-#include "curl_ftp.h"
+#include "ftp.h"
 #include "curl_gssapi.h"
-#include "curl_sendf.h"
-#include "curl_krb4.h"
+#include "sendf.h"
+#include "krb4.h"
 #include "curl_memory.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define LOCAL_ADDR (&conn->local_addr)
 #define REMOTE_ADDR conn->ip_addr->ai_addr
similarity index 96%
rename from lib/curl_ldap.c
rename to lib/ldap.c
index 59f3b832e0665b7370f706f96739f806442f025a..9ef31008c8308cd1c40e5484ab03cec620d35f2b 100644 (file)
@@ -1,11 +1,11 @@
 /***************************************************************************
- *                                  _   _ ____  _
- *  Project                     ___| | | |  _ \| |
- *                             / __| | | | |_) | |
- *                            | (__| |_| |  _ <| |___
- *                             \___|\___/|_| \_\_____|
+ *                      _   _ ____  _
+ *  Project         ___| | | |  _ \| |
+ *                 / __| | | | |_) | |
+ *                | (__| |_| |  _ <| |___
+ *                 \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_LDAP) && !defined(USE_OPENLDAP)
 
 /*
  * 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 curl_openldap.c, otherwise the code that
- * gets compiled is the code from curl_ldap.c.
+ * gets compiled is the code from openldap.c, otherwise the code that gets
+ * compiled is the code from 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
 # endif /* HAVE_LDAP_SSL && HAVE_LDAP_SSL_H */
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_sendf.h"
-#include "curl_escape.h"
-#include "curl_progress.h"
-#include "curl_transfer.h"
-#include "curl_strequal.h"
-#include "curl_strtok.h"
+#include "sendf.h"
+#include "escape.h"
+#include "progress.h"
+#include "transfer.h"
+#include "strequal.h"
+#include "strtok.h"
 #include "curl_ldap.h"
 #include "curl_memory.h"
 #include "curl_base64.h"
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef HAVE_LDAP_URL_PARSE
 
similarity index 98%
rename from lib/curl_llist.c
rename to lib/llist.c
index 46a8d9960d5b74a21db71b9a6822fccb6eeb3420..a302e32d56857d0fbf75cb6c4401dc76db980423 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_llist.h"
+#include "llist.h"
 #include "curl_memory.h"
 
 /* this must be the last include file */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * @unittest: 1300
similarity index 98%
rename from lib/curl_llist.h
rename to lib/llist.h
index 27ddb719a5cc0928bde01d34704ce80af1fd8f1d..b4ca82a4450f57b624dbc8a7a23fd0a2b9a13485 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 #include <stddef.h>
 
 typedef void (*curl_llist_dtor)(void *, void *);
similarity index 99%
rename from lib/curl_md4.c
rename to lib/md4.c
index d64b472ea6260608290b3c0ce37ea31394af4e46..cf6c36023b13d01d8b77a8abc09059e74e8bb6cf 100644 (file)
+++ b/lib/md4.c
    documentation and/or software.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 /* NSS crypto library does not provide the MD4 hash algorithm, so that we have
  * a local implementation of it */
 #ifdef USE_NSS
 
 #include "curl_md4.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 typedef unsigned int UINT4;
 
similarity index 99%
rename from lib/curl_md5.c
rename to lib/md5.c
index 74f53f61b5d47c3db8c4718902b53ceba0c7b05a..ae5812b956dc9d4cf0f6d14e88ea3f1d11890577 100644 (file)
+++ b/lib/md5.c
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_CRYPTO_AUTH
 
 #include "curl_md5.h"
 #include "curl_hmac.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #include "curl_memory.h"
 
@@ -34,7 +34,7 @@
 
 #include <nettle/md5.h>
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 typedef struct md5_ctx MD5_CTX;
 
@@ -59,7 +59,7 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX * ctx)
 
 #include <gcrypt.h>
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 typedef gcry_md_hd_t MD5_CTX;
 
@@ -443,7 +443,7 @@ static void Decode (UINT4 *output,
 #endif /* CRYPTO LIBS */
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 const HMAC_params Curl_HMAC_MD5[] = {
   {
similarity index 99%
rename from lib/curl_memdebug.c
rename to lib/memdebug.c
index e756126b2e0f3af02d5f96a2d9a485c345aa779f..c95f41fc5bd23bc00d92cae1b82f335a07c1589f 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef CURLDEBUG
 
 
 #define _MPRINTF_REPLACE
 #include <curl/mprintf.h>
-#include "curl_urldata.h"
+#include "urldata.h"
 
 #define MEMDEBUG_NODEFINES /* don't redefine the standard functions */
 #include "curl_memory.h"
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef HAVE_ASSERT_H
 #  define assert(x) Curl_nop_stmt
similarity index 99%
rename from lib/curl_memdebug.h
rename to lib/memdebug.h
index fbeb61de5d38a5e15ce465a10f80fdd52f5a9922..1716e3598709261ab716d63979add81b3edb2910 100644 (file)
@@ -28,7 +28,7 @@
  * as well as the library. Do not mix with library internals!
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
similarity index 99%
rename from lib/curl_mprintf.c
rename to lib/mprintf.c
index 35b9f644f8b437c77be9c025f216521e2a35fe84..0990f4024b782cd436a929c8ca92c1e437942b1a 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1999 - 2011, 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
@@ -35,7 +35,7 @@
  * page at http://daniel.haxx.se/trio/
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(DJGPP) && (DJGPP_MINOR < 4)
 #undef _MPRINTF_REPLACE /* don't use x_was_used() here */
@@ -45,7 +45,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef SIZEOF_LONG_DOUBLE
 #define SIZEOF_LONG_DOUBLE 0
@@ -73,7 +73,7 @@
 #endif
 
 /*
- * Max integer data types that curl_mprintf.c is capable
+ * Max integer data types that mprintf.c is capable
  */
 
 #ifdef HAVE_LONG_LONG_TYPE
similarity index 99%
rename from lib/curl_multi.c
rename to lib/multi.c
index 9553883cbc7183bc28efb04e59addc1ff1615d3a..dae1f6b56af3775fd597d5abbaed23a618037a64 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_transfer.h"
-#include "curl_url.h"
-#include "curl_connect.h"
-#include "curl_progress.h"
-#include "curl_easyif.h"
-#include "curl_multiif.h"
-#include "curl_sendf.h"
-#include "curl_timeval.h"
-#include "curl_http.h"
-#include "curl_select.h"
-#include "curl_warnless.h"
-#include "curl_speedcheck.h"
-#include "curl_conncache.h"
-#include "curl_bundles.h"
+#include "urldata.h"
+#include "transfer.h"
+#include "url.h"
+#include "connect.h"
+#include "progress.h"
+#include "easyif.h"
+#include "multiif.h"
+#include "sendf.h"
+#include "timeval.h"
+#include "http.h"
+#include "select.h"
+#include "warnless.h"
+#include "speedcheck.h"
+#include "conncache.h"
+#include "bundles.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
   CURL_SOCKET_HASH_TABLE_SIZE should be a prime number. Increasing it from 97
@@ -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 curl_hash.c
+ * Enable the hash print function first by editing hash.c
  */
 static void debug_print_sock_hash(void *p)
 {
similarity index 93%
rename from lib/curl_multiif.h
rename to lib/multiif.h
index 6e5881e2d2a86adf960aea96bc27c6eae83accf6..c84b6184c010ec1a1abb1369807944fd9c8a2575 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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 curl_multi.c
+ * Prototypes for library-wide functions provided by multi.c
  */
 void Curl_expire(struct SessionHandle *data, long milli);
 
similarity index 96%
rename from lib/curl_netrc.c
rename to lib/netrc.c
index 10853d395fc2548a53e2975b08c34149d381795f..162a86caa036a011c0c623d19bc528262660c76e 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 
 #include <curl/curl.h>
-#include "curl_netrc.h"
+#include "netrc.h"
 
-#include "curl_strequal.h"
-#include "curl_strtok.h"
+#include "strequal.h"
+#include "strtok.h"
 #include "curl_memory.h"
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Get user and password from .netrc when given a machine name */
 
similarity index 100%
rename from lib/curl_netrc.h
rename to lib/netrc.h
similarity index 96%
rename from lib/curl_non_ascii.c
rename to lib/non-ascii.c
index 68b33a92ae3b87445d9219ec636a5e7ed4511ae3..8e29227c01879865d38be3bd13a6b0a9693ddfd2 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef CURL_DOES_CONVERSIONS
 
 #include <curl/curl.h>
 
-#include "curl_non_ascii.h"
-#include "curl_formdata.h"
-#include "curl_sendf.h"
-#include "curl_urldata.h"
+#include "non-ascii.h"
+#include "formdata.h"
+#include "sendf.h"
+#include "urldata.h"
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef HAVE_ICONV
 #include <iconv.h>
@@ -314,8 +314,8 @@ void Curl_convert_close(struct SessionHandle *data)
 }
 
 /*
- * 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.
+ * 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.
  */
 CURLcode Curl_convert_form(struct SessionHandle *data, struct FormData *form)
 {
similarity index 98%
rename from lib/curl_non_ascii.h
rename to lib/non-ascii.h
index 552a513116a871aac1f21a8ce46bdc47c6ef52ed..6dcbe00449dc6f6124eeb41a65532bf66db89c9e 100644 (file)
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef CURL_DOES_CONVERSIONS
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 /*
  * Curl_convert_clone() returns a malloced copy of the source string (if
similarity index 98%
rename from lib/curl_nonblock.c
rename to lib/nonblock.c
index 6e6d1287fb2ddb5204279102ee5e16d0eb91ccfb..a2722ed7fb4cd4821e36378eaa1a193dea36a15a 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>
@@ -37,7 +37,7 @@
 #include <inet.h>
 #endif
 
-#include "curl_nonblock.h"
+#include "nonblock.h"
 
 /*
  * curlx_nonblock() set the given socket to either blocking or non-blocking
similarity index 100%
rename from lib/curl_nonblock.h
rename to lib/nonblock.h
similarity index 98%
rename from lib/curl_nss.c
rename to lib/nss.c
index 15e92a722a6a36516cf270ee9f4cca54cb72d42d..86ce6a6d5ff0b4bb305f7f6adf7a1b14dbdca1d5 100644 (file)
+++ b/lib/nss.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
 
 /*
  * Source file for all NSS-specific code for the TLS/SSL layer. No code
- * but curl_sslgen.c should ever call or use these functions.
+ * but sslgen.c should ever call or use these functions.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_NSS
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_formdata.h" /* for the boundary function */
-#include "curl_url.h" /* for the ssl config check function */
-#include "curl_connect.h"
-#include "curl_strequal.h"
-#include "curl_select.h"
-#include "curl_sslgen.h"
-#include "curl_llist.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "formdata.h" /* for the boundary function */
+#include "url.h" /* for the ssl config check function */
+#include "connect.h"
+#include "strequal.h"
+#include "select.h"
+#include "sslgen.h"
+#include "llist.h"
 
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
 
-#include "curl_nssg.h"
+#include "nssg.h"
 #include <nspr.h>
 #include <nss.h>
 #include <ssl.h>
 #include <prerror.h>
 
 #include "curl_memory.h"
-#include "curl_rawstr.h"
-#include "curl_warnless.h"
+#include "rawstr.h"
+#include "warnless.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define SSL_DIR "/etc/pki/nssdb"
 
similarity index 93%
rename from lib/curl_nssg.h
rename to lib/nssg.h
index 3ba75d351946a7a61c4d6ecb2212af8e6b55eea6..647b7bb28e8fe278fa6472d8026765ba094430b3 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_NSS
 /*
- * This header should only be needed to get included by curl_sslgen.c and
- * curl_nss.c
+ * This header should only be needed to get included by sslgen.c and nss.c
  */
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex);
 CURLcode Curl_nss_connect_nonblocking(struct connectdata *conn,
similarity index 99%
rename from lib/curl_nwlib.c
rename to lib/nwlib.c
index f63f16b8344aa03fa084ccdb5040a13c850db6a4..c67342a089bd0604ec13acc35af0388187e89cfa 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef NETWARE /* Novell NetWare */
 
@@ -34,7 +34,7 @@
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 typedef struct
 {
similarity index 99%
rename from lib/curl_nwos.c
rename to lib/nwos.c
index 23ff2a7172785aee4c463be8995a3d359947ec43..dd3291155242688af4d8c9b77e95dea25ee6cea7 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef NETWARE /* Novell NetWare */
 
similarity index 96%
rename from lib/curl_openldap.c
rename to lib/openldap.c
index b10d31e18553d87b8d0b31e591368f3353ea408a..9ccfa7faeb8dc935b106ecbd89f5e28674abff08 100644 (file)
@@ -1,12 +1,12 @@
 /***************************************************************************
- *                                  _   _ ____  _
- *  Project                     ___| | | |  _ \| |
- *                             / __| | | | |_) | |
- *                            | (__| |_| |  _ <| |___
- *                             \___|\___/|_| \_\_____|
+ *                      _   _ ____  _
+ *  Project         ___| | | |  _ \| |
+ *                 / __| | | | |_) | |
+ *                | (__| |_| |  _ <| |___
+ *                 \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2010, Howard Chu, <hyc@openldap.org>
- * Copyright (C) 2011 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2011 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP)
 
 /*
  * 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 curl_openldap.c, otherwise the code that
- * gets compiled is the code from curl_ldap.c.
+ * gets compiled is the code from openldap.c, otherwise the code that gets
+ * compiled is the code from 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
 
 #include <ldap.h>
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_sendf.h"
-#include "curl_sslgen.h"
-#include "curl_transfer.h"
+#include "sendf.h"
+#include "sslgen.h"
+#include "transfer.h"
 #include "curl_ldap.h"
 #include "curl_memory.h"
 #include "curl_base64.h"
@@ -50,7 +50,7 @@
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef _LDAP_PVT_H
 extern int ldap_pvt_url_scheme2proto(const char *);
similarity index 99%
rename from lib/curl_parsedate.c
rename to lib/parsedate.c
index a50b6074e2c3c5a7f88608a5e58501b8dfb536e2..b6079bc8f4b8225f4f2b3883ce07411b98f501a4 100644 (file)
 
 */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
 
 #include <curl/curl.h>
-#include "curl_rawstr.h"
-#include "curl_warnless.h"
-#include "curl_parsedate.h"
+#include "rawstr.h"
+#include "warnless.h"
+#include "parsedate.h"
 
 const char * const Curl_wkday[] =
 {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
similarity index 100%
rename from lib/curl_parsedate.h
rename to lib/parsedate.h
similarity index 97%
rename from lib/curl_pingpong.c
rename to lib/pingpong.c
index d28e78aa21c75f35946395a9259cc93473e61943..85a7a45af70b21f8e07411485ee253657def417b 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_select.h"
-#include "curl_progress.h"
-#include "curl_speedcheck.h"
-#include "curl_pingpong.h"
-#include "curl_multiif.h"
-#include "curl_non_ascii.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "select.h"
+#include "progress.h"
+#include "speedcheck.h"
+#include "pingpong.h"
+#include "multiif.h"
+#include "non-ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef USE_PINGPONG
 
similarity index 98%
rename from lib/curl_pingpong.h
rename to lib/pingpong.h
index 77060786a4e06fecad644a91b1ff6c2021b1b693..1d104cfbc32b81a2046b022edb205c09f1cd6574 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_FTP) || \
   !defined(CURL_DISABLE_POP3) || !defined(CURL_DISABLE_SMTP)
 #define USE_PINGPONG
 #endif
 
-/* forward-declaration, this is defined in curl_urldata.h */
+/* forward-declaration, this is defined in urldata.h */
 struct connectdata;
 
 /*
similarity index 97%
rename from lib/curl_polarssl.c
rename to lib/polarssl.c
index 81c70264fd29cd2a8b23c7b6db6d6ac54e78f92c..ef074be13297d3d44c97f43710682a5b1fa0c7f0 100644 (file)
@@ -6,7 +6,7 @@
  *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2010, 2011, Hoi-Ho Chan, <hoiho.chan@gmail.com>
- * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012, 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
 
 /*
  * Source file for all PolarSSL-specific code for the TLS/SSL layer. No code
- * but curl_sslgen.c should ever call or use these functions.
+ * but sslgen.c should ever call or use these functions.
  *
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_POLARSSL
 
 #define POLARSSL_ERR_NET_WANT_WRITE POLARSSL_ERR_NET_TRY_AGAIN
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_inet_pton.h"
-#include "curl_polarssl.h"
-#include "curl_sslgen.h"
-#include "curl_parsedate.h"
-#include "curl_connect.h" /* for the connect timeout */
-#include "curl_select.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "inet_pton.h"
+#include "polarssl.h"
+#include "sslgen.h"
+#include "parsedate.h"
+#include "connect.h" /* for the connect timeout */
+#include "select.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* version dependent differences */
 #if POLARSSL_VERSION_NUMBER < 0x01010000
similarity index 99%
rename from lib/curl_polarssl.h
rename to lib/polarssl.h
index 12b3db28c00ec8993a8cedbdacd02d33ff8d1224..ad655465e978b0907316115bca662c2e79a43ca3 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_POLARSSL
 
similarity index 98%
rename from lib/curl_pop3.c
rename to lib/pop3.c
index 0d157f00bddfe6de4779500c6cd7543f4f2f2fb7..08c0de57ebe21d086f1d76e3e4f9ad87bede4368 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -29,7 +29,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_POP3
 
 #endif
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_if2ip.h"
-#include "curl_hostip.h"
-#include "curl_progress.h"
-#include "curl_transfer.h"
-#include "curl_escape.h"
-#include "curl_http.h" /* for HTTP proxy tunnel stuff */
-#include "curl_socks.h"
-#include "curl_pop3.h"
-
-#include "curl_strtoofft.h"
-#include "curl_strequal.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_select.h"
-#include "curl_multiif.h"
-#include "curl_url.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "if2ip.h"
+#include "hostip.h"
+#include "progress.h"
+#include "transfer.h"
+#include "escape.h"
+#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "socks.h"
+#include "pop3.h"
+
+#include "strtoofft.h"
+#include "strequal.h"
+#include "sslgen.h"
+#include "connect.h"
+#include "strerror.h"
+#include "select.h"
+#include "multiif.h"
+#include "url.h"
+#include "rawstr.h"
 #include "curl_sasl.h"
 #include "curl_md5.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Local API functions */
 static CURLcode pop3_parse_url_path(struct connectdata *conn);
@@ -1207,7 +1207,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
   return result;
 }
 
-/* Called repeatedly until done from curl_multi.c */
+/* Called repeatedly until done from 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 curl_multi.c while DOing */
+/* Called from multi.c while DOing */
 static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done)
 {
   CURLcode result = pop3_multi_statemach(conn, dophase_done);
similarity index 95%
rename from lib/curl_pop3.h
rename to lib/pop3.h
index 62b88fdacff6fcf40305369974089a573596d13e..1b68599554b8aebae10920efd47f041f48b9dda0 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2009 - 2012, 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 curl_pop3.c:state() to change state */
+  pop3state state;        /* Always use pop3.c:state() to change state! */
 };
 
 extern const struct Curl_handler Curl_handler_pop3;
similarity index 99%
rename from lib/curl_progress.c
rename to lib/progress.c
index 88f802d0a06d7c1257f5e7de3d8875e8020eafc6..e73f01811b3d1bb636155a10c12bbfe75a372cf4 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_progress.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "progress.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
similarity index 98%
rename from lib/curl_progress.h
rename to lib/progress.h
index e68f8041664872610ce63d8aa131f02dbda6dfd3..f97fef99614e00f8d950bdf4ef85a566ad880dc9 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_timeval.h"
+#include "timeval.h"
 
 
 typedef enum {
similarity index 98%
rename from lib/curl_qssl.c
rename to lib/qssl.c
index d140dc9eb43b1c2217d82964c0a86bdafaeb1f94..172df31411239e4afe3a6076def75b5392bdac91 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_QSOSSL
 
 #endif
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_qssl.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h" /* for the connect timeout */
-#include "curl_select.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "qssl.h"
+#include "sslgen.h"
+#include "connect.h" /* for the connect timeout */
+#include "select.h"
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 
 int Curl_qsossl_init(void)
similarity index 91%
rename from lib/curl_qssl.h
rename to lib/qssl.h
index 3a7cc5045fff467e587507e977f60e2130baff3b..a523cb1f30ab4e9b384468730864602d3927de78 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 /*
- * This header should only be needed to get included by curl_sslgen.c and
- * curl_qssl.c
+ * This header should only be needed to get included by sslgen.c and qssl.c
  */
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 #ifdef USE_QSOSSL
 int Curl_qsossl_init(void);
similarity index 98%
rename from lib/curl_rawstr.c
rename to lib/rawstr.c
index 17fd1f3f51e853bf4911c93aa9df614ae20d3fd2..2cf2fe7cbae6debddb185bccd295e152cecc21d1 100644 (file)
@@ -20,9 +20,9 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 /* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because
    its behavior is altered by the current locale. */
similarity index 100%
rename from lib/curl_rawstr.h
rename to lib/rawstr.h
similarity index 97%
rename from lib/curl_rtsp.c
rename to lib/rtsp.c
index 71e434c471bf34bcf21bd6eebf234ab440404180..ca9788ef78bb8f94c1d27184171edcb01fc90de9 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_RTSP
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sendf.h"
-#include "curl_multiif.h"
-#include "curl_http.h"
-#include "curl_url.h"
-#include "curl_progress.h"
-#include "curl_rtsp.h"
-#include "curl_rawstr.h"
+#include "transfer.h"
+#include "sendf.h"
+#include "multiif.h"
+#include "http.h"
+#include "url.h"
+#include "progress.h"
+#include "rtsp.h"
+#include "rawstr.h"
 #include "curl_memory.h"
-#include "curl_select.h"
-#include "curl_connect.h"
+#include "select.h"
+#include "connect.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * TODO (general)
@@ -381,10 +381,10 @@ static CURLcode rtsp_do(struct connectdata *conn, bool *done)
     }
   }
 
-  /* 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. */
+  /* 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. */
   if(Curl_checkheaders(data, "User-Agent:") && conn->allocptr.uagent) {
     Curl_safefree(conn->allocptr.uagent);
     conn->allocptr.uagent = NULL;
similarity index 100%
rename from lib/curl_rtsp.h
rename to lib/rtsp.h
similarity index 98%
rename from lib/curl_security.c
rename to lib/security.c
index b7544ffbdc1121d091a2cfb1185783d8f1078a86..b70310b89eaa454996ef4f72d37cfde9ba03d15a 100644 (file)
@@ -41,7 +41,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_FTP
 #if defined(HAVE_KRB4) || defined(HAVE_GSSAPI)
 #include <limits.h>
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include "curl_base64.h"
 #include "curl_memory.h"
-#include "curl_krb4.h"
-#include "curl_ftp.h"
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
-#include "curl_warnless.h"
+#include "krb4.h"
+#include "ftp.h"
+#include "sendf.h"
+#include "rawstr.h"
+#include "warnless.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static const struct {
   enum protection_level level;
similarity index 99%
rename from lib/curl_select.c
rename to lib/select.c
index d4519d39e482dac4a9dfb0db2e9101cd2ec88b7e..32b6fa55ff70cc7d81a517bfbcce0c5c0b5fce1b 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_connect.h"
-#include "curl_select.h"
-#include "curl_warnless.h"
+#include "urldata.h"
+#include "connect.h"
+#include "select.h"
+#include "warnless.h"
 
 /* Convenience local macros */
 
similarity index 99%
rename from lib/curl_select.h
rename to lib/select.h
index 00789bb8945ac4fe6b244ce4cab82d98dcf124bd..d66873fe997f431bd961dce6b5ea5d2a741672b2 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_SYS_POLL_H
 #include <sys/poll.h>
similarity index 98%
rename from lib/curl_sendf.c
rename to lib/sendf.c
index a1ec509772aeb93320bb620be75208f832adb9f2..b45e43a3235154e26be912ea462116ba9512b945 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_connect.h"
-#include "curl_sslgen.h"
-#include "curl_ssh.h"
-#include "curl_multiif.h"
-#include "curl_non_ascii.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "connect.h"
+#include "sslgen.h"
+#include "ssh.h"
+#include "multiif.h"
+#include "non-ascii.h"
 
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
 
 /* the krb4 functions only exists for FTP and if krb4 or gssapi is defined */
 #if !defined(CURL_DISABLE_FTP) && (defined(HAVE_KRB4) || defined(HAVE_GSSAPI))
-#include "curl_krb4.h"
+#include "krb4.h"
 #else
 #define Curl_sec_send(a,b,c,d) -1
 #define Curl_sec_read(a,b,c,d) -1
 #endif
 
 #include "curl_memory.h"
-#include "curl_strerror.h"
+#include "strerror.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef CURL_DO_LINEEND_CONV
 /*
@@ -385,7 +385,7 @@ static CURLcode pausewrite(struct SessionHandle *data,
 /* Curl_client_write() sends data to the write callback(s)
 
    The bit pattern defines to what "streams" to write to. Body and/or header.
-   The defines are in curl_sendf.h of course.
+   The defines are in sendf.h of course.
 
    If CURL_DO_LINEEND_CONV is enabled, data is converted IN PLACE to the
    local character encoding.  This is a problem and should be changed in
similarity index 99%
rename from lib/curl_sendf.h
rename to lib/sendf.h
index 39489e40fbb18ed9bb0d78f750874e2e81788d23..39911d016edc67baf2fb9307c77b9afb689ea401 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *,
                     const char *fmt, ...);
similarity index 99%
rename from lib/curl_setup.h
rename to lib/setup.h
index 37be5ae46ef74bbe88b577a753f0dac7e6182d1c..6d2dc90a8def63b5afef070fe0d60bfb2e2a6573 100644 (file)
@@ -645,7 +645,9 @@ int netware_init(void);
  * Include macros and defines that should only be processed once.
  */
 
-#include "curl_setup_once.h"
+#ifndef __SETUP_ONCE_H
+#include "setup_once.h"
+#endif
 
 /*
  * Definition of our NOP statement Object-like macro
similarity index 100%
rename from lib/curl_setup_once.h
rename to lib/setup_once.h
similarity index 98%
rename from lib/curl_share.c
rename to lib/share.c
index 182e6e99be24282a91b5ca091b005de5cc88cdc2..477c35b0ba063860b3f31e46ce7c05a355f80f40 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_share.h"
-#include "curl_sslgen.h"
+#include "urldata.h"
+#include "share.h"
+#include "sslgen.h"
 #include "curl_memory.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 CURLSH *
 curl_share_init(void)
similarity index 96%
rename from lib/curl_share.h
rename to lib/share.h
index ecf6f2a793072c327e1fb3e6acad66fd6cd15c40..b9e6c2538980d0a343fd33b804437eb1a3975a94 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 #include <curl/curl.h>
-#include "curl_cookie.h"
-#include "curl_urldata.h"
+#include "cookie.h"
+#include "urldata.h"
 
 /* SalfordC says "A structure member may not be volatile". Hence:
  */
similarity index 97%
rename from lib/curl_slist.c
rename to lib/slist.c
index 2a30ea620a8d2fd55e63b1cd38344a41ea772c08..4ddebb6091e5a8120c967813a28eea77f5bdd4ed 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "curl_memory.h"
-#include "curl_slist.h"
+#include "slist.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* returns last node in linked list */
 static struct curl_slist *slist_get_last(struct curl_slist *list)
similarity index 100%
rename from lib/curl_slist.h
rename to lib/slist.h
similarity index 98%
rename from lib/curl_smtp.c
rename to lib/smtp.c
index 5c4c25c6f66579d2cda0cc951b3b004dbf3495cd..a1840a434f4989bf5b97e300d8e23ec3568e9c58 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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,7 +27,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_SMTP
 
 #endif
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_if2ip.h"
-#include "curl_hostip.h"
-#include "curl_progress.h"
-#include "curl_transfer.h"
-#include "curl_escape.h"
-#include "curl_http.h" /* for HTTP proxy tunnel stuff */
-#include "curl_socks.h"
-#include "curl_smtp.h"
-
-#include "curl_strtoofft.h"
-#include "curl_strequal.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_select.h"
-#include "curl_multiif.h"
-#include "curl_url.h"
-#include "curl_rawstr.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "if2ip.h"
+#include "hostip.h"
+#include "progress.h"
+#include "transfer.h"
+#include "escape.h"
+#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "socks.h"
+#include "smtp.h"
+
+#include "strtoofft.h"
+#include "strequal.h"
+#include "sslgen.h"
+#include "connect.h"
+#include "strerror.h"
+#include "select.h"
+#include "multiif.h"
+#include "url.h"
+#include "rawstr.h"
 #include "curl_gethostname.h"
 #include "curl_sasl.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Local API functions */
 static CURLcode smtp_regular_transfer(struct connectdata *conn, bool *done);
@@ -1226,7 +1226,7 @@ static CURLcode smtp_statemach_act(struct connectdata *conn)
   return result;
 }
 
-/* Called repeatedly until done from curl_multi.c */
+/* Called repeatedly until done from 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 curl_multi.c while DOing */
+/* Called from multi.c while DOing */
 static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done)
 {
   CURLcode result = smtp_multi_statemach(conn, dophase_done);
similarity index 95%
rename from lib/curl_smtp.h
rename to lib/smtp.h
index d92547c11930a5eb6568628004e339b278ad65b9..0d605628d5377aa37f89858d82c553ba62527305 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2009 - 2012, 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 @@
  *
  ***************************************************************************/
 
-#include "curl_pingpong.h"
+#include "pingpong.h"
 
 /****************************************************************************
  * SMTP unique setup
@@ -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 curl_smtp.c:state() to change */
+  smtpstate state;         /* Always use smtp.c:state() to change state! */
   struct curl_slist *rcpt; /* Recipient list */
   bool ssldone;            /* Is connect() over SSL done? Only relevant in
                               multi mode */
similarity index 98%
rename from lib/curl_sockaddr.h
rename to lib/sockaddr.h
index 6a2151c9d2f4ce65d85bb19ff550454b0631ca90..522a2199f54a09143b37dfba23933082433ae329 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 struct Curl_sockaddr_storage {
   union {
similarity index 99%
rename from lib/curl_socks.c
rename to lib/socks.c
index 1b70dd6295df934133fb9b3fe92c5161b32d0835..13a756a408f8c22044f8842d3633031fafc97a76 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if !defined(CURL_DISABLE_PROXY)
 
 #include <arpa/inet.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_strequal.h"
-#include "curl_select.h"
-#include "curl_connect.h"
-#include "curl_timeval.h"
-#include "curl_socks.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "strequal.h"
+#include "select.h"
+#include "connect.h"
+#include "timeval.h"
+#include "socks.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Helper read-from-socket functions. Does the same as Curl_read() but it
similarity index 99%
rename from lib/curl_socks.h
rename to lib/socks.h
index dc4670b24935409a8cd4907bc1828ec1c2814bac..0ce0bd044c6daaab5d89fc16da4422dc9e7d94ba 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef CURL_DISABLE_PROXY
 #define Curl_SOCKS4(a,b,c,d,e,f) CURLE_NOT_BUILT_IN
similarity index 98%
rename from lib/curl_socks_gssapi.c
rename to lib/socks_gssapi.c
index 2bd3d4508c0aaf57f5fe2ada3abf587cf7bdfe2d..02dd485f1b0344dfd2f57e2706e652bba6810323 100644 (file)
@@ -21,7 +21,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_PROXY
 
 #endif
 
 #include "curl_gssapi.h"
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_connect.h"
-#include "curl_timeval.h"
-#include "curl_socks.h"
-#include "curl_warnless.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "connect.h"
+#include "timeval.h"
+#include "socks.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static gss_ctx_id_t gss_context = GSS_C_NO_CONTEXT;
 
similarity index 98%
rename from lib/curl_socks_sspi.c
rename to lib/socks_sspi.c
index c57610717e075a9b3c329a13877272a7d88739ac..6e95e3c35a5a957f444fff5a22079edf3b7c74aa 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(USE_WINDOWS_SSPI) && !defined(CURL_DISABLE_PROXY)
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_timeval.h"
-#include "curl_socks.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "connect.h"
+#include "strerror.h"
+#include "timeval.h"
+#include "socks.h"
 #include "curl_sspi.h"
 #include "curl_multibyte.h"
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Definitions required from ntsecapi.h are directly provided below this point
similarity index 95%
rename from lib/curl_speedcheck.c
rename to lib/speedcheck.c
index b9ce77dbf8702d62007c0be958d9d85355355b0b..ca2323f57fb146569a7c9120e75ab55869265b2a 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_multiif.h"
-#include "curl_speedcheck.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "multiif.h"
+#include "speedcheck.h"
 
 void Curl_speedinit(struct SessionHandle *data)
 {
similarity index 96%
rename from lib/curl_speedcheck.h
rename to lib/speedcheck.h
index a933781c0fa7a87ed966ceb894e84360d8bf974d..fc40e7d0cc7e262e8692fc6c1b312eb8267d6357 100644 (file)
@@ -22,9 +22,9 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_timeval.h"
+#include "timeval.h"
 
 void Curl_speedinit(struct SessionHandle *data);
 CURLcode Curl_speedcheck(struct SessionHandle *data,
similarity index 99%
rename from lib/curl_splay.c
rename to lib/splay.c
index 21f1d222e5681ca6ffcda25bbae550c84c7feaaa..b6664e6df34a3be36a56e5b9d9accbc4e0f2a46e 100644 (file)
@@ -20,9 +20,9 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_splay.h"
+#include "splay.h"
 
 /*
  * This macro compares two node keys i and j and returns:
similarity index 99%
rename from lib/curl_splay.h
rename to lib/splay.h
index 5f9ef24cc6e4b5b49c0539ebe54b932bdf8087c6..49a6dec41dfb2b4b24175b3531e56628f16c6f46 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 struct Curl_tree {
   struct Curl_tree *smaller; /* smaller node */
similarity index 99%
rename from lib/curl_ssh.c
rename to lib/ssh.c
index d769a041ba584f7cd8cfb2392aa38ebaf49b313b..1cc4bcd4cf2b94870dc460946e8291ddf8755058 100644 (file)
+++ b/lib/ssh.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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 @@
 
 /* #define CURL_LIBSSH2_DEBUG */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_LIBSSH2
 
 #endif
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_hostip.h"
-#include "curl_progress.h"
-#include "curl_transfer.h"
-#include "curl_escape.h"
-#include "curl_http.h" /* for HTTP proxy tunnel stuff */
-#include "curl_ssh.h"
-#include "curl_url.h"
-#include "curl_speedcheck.h"
-#include "curl_getinfo.h"
-
-#include "curl_strequal.h"
-#include "curl_sslgen.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_inet_ntop.h"
-#include "curl_parsedate.h" /* for the week day and month names */
-#include "curl_sockaddr.h" /* required for Curl_sockaddr_storage */
-#include "curl_strtoofft.h"
-#include "curl_multiif.h"
-#include "curl_select.h"
-#include "curl_warnless.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "hostip.h"
+#include "progress.h"
+#include "transfer.h"
+#include "escape.h"
+#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "ssh.h"
+#include "url.h"
+#include "speedcheck.h"
+#include "getinfo.h"
+
+#include "strequal.h"
+#include "sslgen.h"
+#include "connect.h"
+#include "strerror.h"
+#include "inet_ntop.h"
+#include "parsedate.h" /* for the week day and month names */
+#include "sockaddr.h" /* required for Curl_sockaddr_storage */
+#include "strtoofft.h"
+#include "multiif.h"
+#include "select.h"
+#include "warnless.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef WIN32
 #  undef  PATH_MAX
@@ -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 curl_multi.c */
+/* called repeatedly until done from 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 curl_multi.c while DOing */
+/* called from 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 curl_multi.c while DOing */
+/* called from 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>
similarity index 97%
rename from lib/curl_ssh.h
rename to lib/ssh.h
index c7f1a9c6940075807b869308f92f74bf354349ce..bf43fdf3a1a4c7aee9a80fbac416c79fb3ff74e3 100644 (file)
+++ b/lib/ssh.h
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_LIBSSH2_H
 #include <libssh2.h>
@@ -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 curl_ssh.c:state() to change */
+  sshstate state;             /* always use ssh.c:state() to change state! */
   sshstate nextstate;         /* the state to goto after stopping */
   CURLcode actualcode;        /* the actual error code */
   struct curl_slist *quote_item; /* for the quote option */
similarity index 96%
rename from lib/curl_sslgen.c
rename to lib/sslgen.c
index d85ba8ae693516224cc3429a3934593839f99ec0..67dd71fa64277fbde05e2ea09e901351eda2b6bb 100644 (file)
    http://httpd.apache.org/docs-2.0/ssl/ssl_intro.html
 */
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #define SSLGEN_C
-#include "curl_sslgen.h" /* generic SSL protos etc */
-#include "curl_ssluse.h" /* OpenSSL versions */
-#include "curl_gtls.h"   /* GnuTLS versions */
-#include "curl_nssg.h"   /* NSS versions */
-#include "curl_qssl.h"   /* QSOSSL versions */
-#include "curl_polarssl.h" /* PolarSSL versions */
-#include "curl_axtls.h"  /* axTLS versions */
-#include "curl_cyassl.h"  /* CyaSSL versions */
+#include "sslgen.h" /* generic SSL protos etc */
+#include "ssluse.h" /* OpenSSL versions */
+#include "gtls.h"   /* GnuTLS versions */
+#include "nssg.h"   /* NSS versions */
+#include "qssl.h"   /* QSOSSL versions */
+#include "polarssl.h" /* PolarSSL versions */
+#include "axtls.h"  /* axTLS versions */
+#include "cyassl.h"  /* CyaSSL versions */
 #include "curl_schannel.h" /* Schannel SSPI version */
 #include "curl_darwinssl.h" /* SecureTransport (Darwin) version */
-#include "curl_sendf.h"
-#include "curl_rawstr.h"
-#include "curl_url.h"
+#include "sendf.h"
+#include "rawstr.h"
+#include "url.h"
 #include "curl_memory.h"
-#include "curl_progress.h"
-#include "curl_share.h"
+#include "progress.h"
+#include "share.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* convenience macro to check if this handle is using a shared SSL session */
 #define SSLSESSION_SHARED(data) (data->share &&                        \
similarity index 99%
rename from lib/curl_sslgen.h
rename to lib/sslgen.h
index 17ad8e343d8283c4df7497f475210a2f513f4c1f..2369b552cf26fd052f5942b98e3bfc82e9be7b09 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef MD5_DIGEST_LENGTH
 #define MD5_DIGEST_LENGTH 16 /* fixed size */
similarity index 99%
rename from lib/curl_ssluse.c
rename to lib/ssluse.c
index 0809d461427b059ae4585d3de4594d2464019a65..8f9fce4c87b8eff1bcea1681fae8b189aa7125ad 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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 curl_sslgen.c should ever call or use these functions.
+ * but sslgen.c should ever call or use these functions.
  */
 
 /*
  * Sampo Kellomaki 1998.
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
 
-#include "curl_urldata.h"
-#include "curl_sendf.h"
-#include "curl_formdata.h" /* for the boundary function */
-#include "curl_url.h" /* for the ssl config check function */
-#include "curl_inet_pton.h"
-#include "curl_ssluse.h"
-#include "curl_connect.h"
-#include "curl_strequal.h"
-#include "curl_select.h"
-#include "curl_sslgen.h"
-#include "curl_rawstr.h"
-#include "curl_hostcheck.h"
+#include "urldata.h"
+#include "sendf.h"
+#include "formdata.h" /* for the boundary function */
+#include "url.h" /* for the ssl config check function */
+#include "inet_pton.h"
+#include "ssluse.h"
+#include "connect.h"
+#include "strequal.h"
+#include "select.h"
+#include "sslgen.h"
+#include "rawstr.h"
+#include "hostcheck.h"
 
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
 #include <md5.h>
 #endif
 
-#include "curl_warnless.h"
+#include "warnless.h"
 #include "curl_memory.h"
-#include "curl_non_ascii.h" /* for Curl_convert_from_utf8 prototype */
+#include "non-ascii.h" /* for Curl_convert_from_utf8 prototype */
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifndef OPENSSL_VERSION_NUMBER
 #error "OPENSSL_VERSION_NUMBER not defined"
similarity index 94%
rename from lib/curl_ssluse.h
rename to lib/ssluse.h
index 669be57c145444faccc0e918231499a4c227d0c6..5375a6a65de7e3a28b221010d18d4713cf3dbad9 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef USE_SSLEAY
 /*
- * This header should only be needed to get included by curl_sslgen.c and
- * curl_ssluse.c
+ * This header should only be needed to get included by sslgen.c and ssluse.c
  */
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 CURLcode Curl_ossl_connect(struct connectdata *conn, int sockindex);
 CURLcode Curl_ossl_connect_nonblocking(struct connectdata *conn,
similarity index 96%
rename from lib/curl_strdup.c
rename to lib/strdup.c
index 8dcaa67f0606569009b8c3b52abc023e660faa4c..27014354d79c84932929b550fc4e785efeaee110 100644 (file)
@@ -22,9 +22,9 @@
 /*
  * This file is 'mem-include-scan' clean. See test 1132.
  */
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_strdup.h"
+#include "strdup.h"
 
 #ifndef HAVE_STRDUP
 char *curlx_strdup(const char *str)
similarity index 98%
rename from lib/curl_strdup.h
rename to lib/strdup.h
index 49af9117ee90f2959351d6f142714260e2bb5fa3..4edbcd7d4e476366c64e73cc644507921bf4b249 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef HAVE_STRDUP
 extern char *curlx_strdup(const char *str);
similarity index 98%
rename from lib/curl_strequal.c
rename to lib/strequal.c
index 5d370c854ca5853ff9eca0c19234d798866e99b0..89ad8a6e8defcef8d551569e789fa29734f89278 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_STRINGS_H
 #include <strings.h>
 #endif
 
-#include "curl_strequal.h"
+#include "strequal.h"
 
 /*
  * @unittest: 1301
similarity index 100%
rename from lib/curl_strequal.h
rename to lib/strequal.h
similarity index 99%
rename from lib/curl_strerror.c
rename to lib/strerror.c
index 27567a1ac71e59c030c4fe71428e523b10c062d2..0c82a53e4c8945213efe9d71d4f62d215ada2d23 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_STRERROR_R
 #  if (!defined(HAVE_POSIX_STRERROR_R) && \
 #include <idna.h>
 #endif
 
-#include "curl_strerror.h"
+#include "strerror.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 const char *
 curl_easy_strerror(CURLcode error)
similarity index 98%
rename from lib/curl_strerror.h
rename to lib/strerror.h
index 60f193f97276e5c0851b2bf746f14aa713a0c228..f1b22210acfbba4c122d974baa0b654ed745eec7 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_urldata.h"
+#include "urldata.h"
 
 const char *Curl_strerror (struct connectdata *conn, int err);
 
similarity index 97%
rename from lib/curl_strtok.c
rename to lib/strtok.c
index 33bdd96afd9097c85ecbba231d1ac55ffa84756d..94eac0e642c3d61ab4ccca5926da51c4e49838e8 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef HAVE_STRTOK_R
 #include <stddef.h>
 
-#include "curl_strtok.h"
+#include "strtok.h"
 
 char *
 Curl_strtok_r(char *ptr, const char *sep, char **end)
similarity index 98%
rename from lib/curl_strtok.h
rename to lib/strtok.h
index 1147d70d3c2bbdcfdb57205b06d23c8e2b99058c..8baf77948f6bc29433cf660c49c203c2394cce8d 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 #include <stddef.h>
 
 #ifndef HAVE_STRTOK_R
similarity index 98%
rename from lib/curl_strtoofft.c
rename to lib/strtoofft.c
index d203d9cc7a352f0e175e0ef1c5d507b65d4dbc54..c61459de89f82060f918eac8bce671b507de7f32 100644 (file)
@@ -20,9 +20,9 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_strtoofft.h"
+#include "strtoofft.h"
 
 /*
  * NOTE:
similarity index 99%
rename from lib/curl_strtoofft.h
rename to lib/strtoofft.h
index b812a67a0a85a67d6d72fd87e18a2a41d920e412..08b0e6d91e2d2bfc173f7a6ecc5163915980db01 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 /*
  * Determine which string to integral data type conversion function we use
similarity index 99%
rename from lib/curl_telnet.c
rename to lib/telnet.c
index 54eab1c92a9a11883048000673d1acc8bef3a2eb..a64da090f2e071bc42ca580739a8e6dae5389814 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_TELNET
 
 #include <sys/param.h>
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sendf.h"
-#include "curl_telnet.h"
-#include "curl_connect.h"
-#include "curl_progress.h"
+#include "transfer.h"
+#include "sendf.h"
+#include "telnet.h"
+#include "connect.h"
+#include "progress.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 #define  TELOPTS
 #define  TELCMDS
 
-#include "curl_arpa_telnet.h"
+#include "arpa_telnet.h"
 #include "curl_memory.h"
-#include "curl_select.h"
-#include "curl_strequal.h"
-#include "curl_rawstr.h"
-#include "curl_warnless.h"
+#include "select.h"
+#include "strequal.h"
+#include "rawstr.h"
+#include "warnless.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define SUBBUFSIZE 512
 
similarity index 100%
rename from lib/curl_telnet.h
rename to lib/telnet.h
similarity index 98%
rename from lib/curl_tftp.c
rename to lib/tftp.c
index 1af246ec00606786db95bcdd9611d78fa606faba..97276ea99ab3234d6c8948d111839a3e39ea8cfa 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifndef CURL_DISABLE_TFTP
 
 #include <sys/param.h>
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_transfer.h"
-#include "curl_sendf.h"
-#include "curl_tftp.h"
-#include "curl_progress.h"
-#include "curl_connect.h"
-#include "curl_strerror.h"
-#include "curl_sockaddr.h" /* required for Curl_sockaddr_storage */
-#include "curl_multiif.h"
-#include "curl_url.h"
-#include "curl_rawstr.h"
+#include "transfer.h"
+#include "sendf.h"
+#include "tftp.h"
+#include "progress.h"
+#include "connect.h"
+#include "strerror.h"
+#include "sockaddr.h" /* required for Curl_sockaddr_storage */
+#include "multiif.h"
+#include "url.h"
+#include "rawstr.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
-#include "curl_select.h"
+#include "select.h"
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* RFC2348 allows the block size to be negotiated */
 #define TFTP_BLKSIZE_DEFAULT 512
@@ -1371,7 +1371,7 @@ static CURLcode tftp_multi_statemach(struct connectdata *conn, bool *done)
  *
  * tftp_doing
  *
- * Called from curl_multi.c while DOing
+ * Called from multi.c while DOing
  *
  **********************************************************/
 static CURLcode tftp_doing(struct connectdata *conn, bool *dophase_done)
similarity index 100%
rename from lib/curl_tftp.h
rename to lib/tftp.h
similarity index 99%
rename from lib/curl_timeval.c
rename to lib/timeval.c
index 8e4c7bd76624b22e47e67094831c421326fdbcb6..2fd72014481451916e7337ec0cef22e5939adb56 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_timeval.h"
+#include "timeval.h"
 
 #if defined(WIN32) && !defined(MSDOS)
 
similarity index 98%
rename from lib/curl_timeval.h
rename to lib/timeval.h
index 3f1b9ea70d8a4ac9e766dcce69ef4234b26859ce..b464ae4068919e07f8bd19a652fa248ef9a522f7 100644 (file)
@@ -27,7 +27,7 @@
  * as well as the library. Do not mix with library internals!
  */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 struct timeval curlx_tvnow(void);
 
similarity index 98%
rename from lib/curl_transfer.c
rename to lib/transfer.c
index a1dee1dd04b99797457fbc120bbdc39ce9418add..6194908d648c98ba268c7134cc13e88f297052ec 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_strtoofft.h"
-#include "curl_strequal.h"
-#include "curl_rawstr.h"
+#include "strtoofft.h"
+#include "strequal.h"
+#include "rawstr.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #error "We can't compile without socket() support!"
 #endif
 
-#include "curl_urldata.h"
+#include "urldata.h"
 #include <curl/curl.h>
-#include "curl_netrc.h"
-
-#include "curl_content_encoding.h"
-#include "curl_hostip.h"
-#include "curl_transfer.h"
-#include "curl_sendf.h"
-#include "curl_speedcheck.h"
-#include "curl_progress.h"
-#include "curl_http.h"
-#include "curl_url.h"
-#include "curl_getinfo.h"
-#include "curl_sslgen.h"
-#include "curl_http_digest.h"
+#include "netrc.h"
+
+#include "content_encoding.h"
+#include "hostip.h"
+#include "transfer.h"
+#include "sendf.h"
+#include "speedcheck.h"
+#include "progress.h"
+#include "http.h"
+#include "url.h"
+#include "getinfo.h"
+#include "sslgen.h"
+#include "http_digest.h"
 #include "curl_ntlm.h"
-#include "curl_http_negotiate.h"
-#include "curl_share.h"
+#include "http_negotiate.h"
+#include "share.h"
 #include "curl_memory.h"
-#include "curl_select.h"
-#include "curl_multiif.h"
-#include "curl_connect.h"
-#include "curl_non_ascii.h"
+#include "select.h"
+#include "multiif.h"
+#include "connect.h"
+#include "non-ascii.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define CURL_TIMEOUT_EXPECT_100 1000 /* counting ms here */
 
@@ -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 curl_http_chunks.c.
+             in http_chunks.c.
              Make sure that ALL_CONTENT_ENCODINGS contains all the
              encodings handled here. */
 #ifdef HAVE_LIBZ
@@ -1725,7 +1725,7 @@ CURLcode Curl_follow(struct SessionHandle *data,
                      char *newurl, /* this 'newurl' is the Location: string,
                                       and it must be malloc()ed before passed
                                       here */
-                     followtype type) /* see curl_transfer.h */
+                     followtype type) /* see transfer.h */
 {
 #ifdef CURL_DISABLE_HTTP
   (void)data;
similarity index 100%
rename from lib/curl_transfer.h
rename to lib/transfer.h
similarity index 99%
rename from lib/curl_url.c
rename to lib/url.c
index 52badc5d70a079e2a1521e9d17fa35c8da110bc4..58befecab26fa160ec8f91afe5002da9d5fb968b 100644 (file)
+++ b/lib/url.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
@@ -74,61 +74,61 @@ void idn_free (void *ptr);
 int curl_win32_idn_to_ascii(const char *in, char **out);
 #endif  /* USE_LIBIDN */
 
-#include "curl_urldata.h"
-#include "curl_netrc.h"
-
-#include "curl_formdata.h"
-#include "curl_sslgen.h"
-#include "curl_hostip.h"
-#include "curl_transfer.h"
-#include "curl_sendf.h"
-#include "curl_progress.h"
-#include "curl_cookie.h"
-#include "curl_strequal.h"
-#include "curl_strerror.h"
-#include "curl_escape.h"
-#include "curl_strtok.h"
-#include "curl_share.h"
-#include "curl_content_encoding.h"
-#include "curl_http_digest.h"
-#include "curl_http_negotiate.h"
-#include "curl_select.h"
-#include "curl_multiif.h"
-#include "curl_easyif.h"
-#include "curl_speedcheck.h"
-#include "curl_rawstr.h"
-#include "curl_warnless.h"
-#include "curl_non_ascii.h"
-#include "curl_inet_pton.h"
+#include "urldata.h"
+#include "netrc.h"
+
+#include "formdata.h"
+#include "sslgen.h"
+#include "hostip.h"
+#include "transfer.h"
+#include "sendf.h"
+#include "progress.h"
+#include "cookie.h"
+#include "strequal.h"
+#include "strerror.h"
+#include "escape.h"
+#include "strtok.h"
+#include "share.h"
+#include "content_encoding.h"
+#include "http_digest.h"
+#include "http_negotiate.h"
+#include "select.h"
+#include "multiif.h"
+#include "easyif.h"
+#include "speedcheck.h"
+#include "rawstr.h"
+#include "warnless.h"
+#include "non-ascii.h"
+#include "inet_pton.h"
 
 /* And now for the protocols */
-#include "curl_ftp.h"
-#include "curl_dict.h"
-#include "curl_telnet.h"
-#include "curl_tftp.h"
-#include "curl_http.h"
-#include "curl_file.h"
+#include "ftp.h"
+#include "dict.h"
+#include "telnet.h"
+#include "tftp.h"
+#include "http.h"
+#include "file.h"
 #include "curl_ldap.h"
-#include "curl_ssh.h"
-#include "curl_imap.h"
-#include "curl_url.h"
-#include "curl_connect.h"
-#include "curl_inet_ntop.h"
+#include "ssh.h"
+#include "imap.h"
+#include "url.h"
+#include "connect.h"
+#include "inet_ntop.h"
 #include "curl_ntlm.h"
 #include "curl_ntlm_wb.h"
-#include "curl_socks.h"
+#include "socks.h"
 #include "curl_rtmp.h"
-#include "curl_gopher.h"
-#include "curl_http_proxy.h"
-#include "curl_bundles.h"
-#include "curl_conncache.h"
+#include "gopher.h"
+#include "http_proxy.h"
+#include "bundles.h"
+#include "conncache.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Local static prototypes */
 static bool ConnectionKillOne(struct SessionHandle *data);
@@ -508,7 +508,7 @@ CURLcode Curl_init_userdefined(struct UserDefined *set)
   /* Set the default size of the SSL session ID cache */
   set->ssl.max_ssl_sessions = 5;
 
-  set->proxyport = CURL_DEFAULT_PROXY_PORT; /* from curl_url.h */
+  set->proxyport = CURL_DEFAULT_PROXY_PORT; /* from url.h */
   set->proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */
   set->httpauth = CURLAUTH_BASIC;  /* defaults to basic */
   set->proxyauth = CURLAUTH_BASIC; /* defaults to basic */
@@ -2190,7 +2190,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
     break;
 
   case CURLOPT_SSH_KEYFUNCTION:
-    /* setting to NULL is fine since the curl_ssh.c functions themselves will
+    /* setting to NULL is fine since the 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/curl_version.c too! */
+       * lib/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 curl_transfer.c, but we better do it here */
+    /* This was formerly done in 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
similarity index 96%
rename from lib/curl_url.h
rename to lib/url.h
index cc113abdcf772bd3d2c4f4239dd4089964313cbd..ab6d3d04834cfd6df36776afacb45d9b7ce85568 100644 (file)
+++ b/lib/url.h
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 /*
- * Prototypes for library-wide functions provided by curl_url.c
+ * Prototypes for library-wide functions provided by url.c
  */
 
 CURLcode Curl_open(struct SessionHandle **curl);
similarity index 98%
rename from lib/curl_urldata.h
rename to lib/urldata.h
index d9edee079a60ecb459caf20e13e630852e0de748..cd50f623fcabaf64ca9ee2d53a24c186168296b8 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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 @@
 
 /* This file is for lib internal stuff */
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #define PORT_FTP 21
 #define PORT_FTPS 990
@@ -66,8 +66,8 @@
 */
 #define RESP_TIMEOUT (1800*1000)
 
-#include "curl_cookie.h"
-#include "curl_formdata.h"
+#include "cookie.h"
+#include "formdata.h"
 
 #ifdef USE_SSLEAY
 #ifdef USE_OPENSSL
 #include <netinet/in.h>
 #endif
 
-#include "curl_timeval.h"
+#include "timeval.h"
 
 #ifdef HAVE_ZLIB_H
 #include <zlib.h>               /* for content-encoding */
 
 #include <curl/curl.h>
 
-#include "curl_http_chunks.h" /* for the structs and enum stuff */
-#include "curl_hostip.h"
-#include "curl_hash.h"
-#include "curl_splay.h"
-
-#include "curl_imap.h"
-#include "curl_pop3.h"
-#include "curl_smtp.h"
-#include "curl_ftp.h"
-#include "curl_file.h"
-#include "curl_ssh.h"
-#include "curl_http.h"
-#include "curl_rtsp.h"
-#include "curl_wildcard.h"
+#include "http_chunks.h" /* for the structs and enum stuff */
+#include "hostip.h"
+#include "hash.h"
+#include "splay.h"
+
+#include "imap.h"
+#include "pop3.h"
+#include "smtp.h"
+#include "ftp.h"
+#include "file.h"
+#include "ssh.h"
+#include "http.h"
+#include "rtsp.h"
+#include "wildcard.h"
 
 #ifdef HAVE_GSSAPI
 # ifdef HAVE_GSSGNU
@@ -664,7 +664,7 @@ struct SingleRequest {
 
   bool forbidchunk;   /* used only to explicitly forbid chunk-upload for
                          specific upload buffers. See readmoredata() in
-                         curl_http.c for details. */
+                         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 curl_transfer.c:readwrite_data()
-     to allow the protocol to do extra reads/writes */
+  /* If used, this function gets called from 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);
 
@@ -1068,7 +1068,7 @@ struct Progress {
 
   bool callback;  /* set when progress callback is used */
   int width; /* screen width at download start */
-  int flags; /* see curl_progress.h */
+  int flags; /* see progress.h */
 
   double timespent;
 
@@ -1276,7 +1276,7 @@ struct UrlState {
     struct FTP *ftp;
     /* void *tftp;    not used */
     struct FILEPROTO *file;
-    void *telnet;        /* private for curl_telnet.c-eyes only */
+    void *telnet;        /* private for 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 curl_multi.c */
-struct Curl_multi;    /* declared and used only in curl_multi.c */
+struct Curl_one_easy; /* declared and used only in multi.c */
+struct Curl_multi;    /* declared and used only in multi.c */
 
 enum dupstring {
   STRING_CERT,            /* client certificate file name */
similarity index 99%
rename from lib/curl_version.c
rename to lib/version.c
index fe1f736608c05d906d58584434454597bd0568cb..ef8353ae2a08eb94df007e8f2267294eb0470454 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
-#include "curl_urldata.h"
-#include "curl_sslgen.h"
+#include "urldata.h"
+#include "sslgen.h"
 
 #define _MPRINTF_REPLACE /* use the internal *printf() functions */
 #include <curl/mprintf.h>
similarity index 99%
rename from lib/curl_warnless.c
rename to lib/warnless.c
index 30cdbe6f008d17ae4cb60d4e82aeb953a725b5f9..9cc7be9d3fc7d1b9198ddcd37014e44d82075595 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #if defined(__INTEL_COMPILER) && defined(__unix__)
 
@@ -35,7 +35,7 @@
 
 #define BUILDING_WARNLESS_C 1
 
-#include "curl_warnless.h"
+#include "warnless.h"
 
 #define CURL_MASK_SCHAR  0x7F
 #define CURL_MASK_UCHAR  0xFF
similarity index 100%
rename from lib/curl_warnless.h
rename to lib/warnless.h
similarity index 93%
rename from lib/curl_wildcard.c
rename to lib/wildcard.c
index d6ba2b27684d4b4dbd6aed956a2e8c8aa2e2bbd7..6f4c7380c4aa430c66d8c69dfd536b9d504386b4 100644 (file)
  *
  ***************************************************************************/
 
-#include "curl_setup.h"
+#include "setup.h"
 
-#include "curl_wildcard.h"
-#include "curl_llist.h"
-#include "curl_fileinfo.h"
+#include "wildcard.h"
+#include "llist.h"
+#include "fileinfo.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
 #include "curl_memory.h"
 /* The last #include file should be: */
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 CURLcode Curl_wildcard_init(struct WildcardData *wc)
 {
similarity index 100%
rename from lib/curl_wildcard.h
rename to lib/wildcard.h
index f48e2f87d0625109a31ff51d64fb57c3a4318885..2e2d868d6632aeb393c2ce2f0d95626eb56473a8 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2009, 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
@@ -21,7 +21,7 @@
 #***************************************************************************
 
 # File version for 'aclocal' use. Keep it a single number.
-# serial 9
+# serial 8
 
 dnl Note 1
 dnl ------
@@ -467,7 +467,7 @@ dnl This macro ensures that configuration tests done
 dnl after this will execute with preprocessor symbol
 dnl _REENTRANT defined. This macro also ensures that
 dnl the generated config file defines NEED_REENTRANT
-dnl and that in turn curl_setup.h will define _REENTRANT.
+dnl and that in turn setup.h will define _REENTRANT.
 dnl Internal macro for CURL_CONFIGURE_REENTRANT.
 
 AC_DEFUN([CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT], [
@@ -487,7 +487,7 @@ dnl This macro ensures that configuration tests done
 dnl after this will execute with preprocessor symbol
 dnl _THREAD_SAFE defined. This macro also ensures that
 dnl the generated config file defines NEED_THREAD_SAFE
-dnl and that in turn curl_setup.h will define _THREAD_SAFE.
+dnl and that in turn setup.h will define _THREAD_SAFE.
 dnl Internal macro for CURL_CONFIGURE_THREAD_SAFE.
 
 AC_DEFUN([CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE], [
index 4ef9acbf6d6aba11683fff95d29d56993cc23ba5..1baff3951b8d08b48f9e0f61dc7cc6ba9d93d796 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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
 #pragma enum(int)
 
 #include "curl.h"
-#include "curl_mprintf.h"
-#include "curl_urldata.h"
-#include "curl_url.h"
-#include "curl_getinfo.h"
+#include "mprintf.h"
+#include "urldata.h"
+#include "url.h"
+#include "getinfo.h"
 #include "ccsidcurl.h"
 
 #include "os400sys.h"
index d9c6e9e95373344db9b28bfa31812d6f437e7c41..a9e1c38614b7906d045863340cc1a3c0c24eb187 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-2013 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
+echo '#pragma comment(copyright, "Copyright (C) 1998-2012 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   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'"
+        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'"
         #       The following modules should not be needed (see comment in
-        #               curl_formdata.c. However, there are some unsatisfied
+        #               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 61ae1e0f3eb9f09994b63ff710d8d31c30f70a2b..5527ce7201b8092db5a7c1a803f01b0123d40f45 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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 @@
 /* OS/400 additional support. */
 
 #include "curlbuild.h"
-#include "config-os400.h"   /* Not curl_setup.h: we only need some defines. */
+#include "config-os400.h"       /* Not setup.h: we only need some defines. */
 
 #include <sys/types.h>
 #include <sys/socket.h>
index caddfeca47dc150db4739f936b43a0f340c728be..28498ce7b955f7b80015c4206fc2d6bb317e91c5 100644 (file)
@@ -49,8 +49,7 @@ SOURCE \
 
 SOURCEPATH  ../../../lib
 SOURCE \
-    curl_nonblock.c \
-    curl_rawstr.c
+    rawstr.c nonblock.c
 
 USERINCLUDE ../../../src ../../../lib ../../../include/curl
 
index eb920c08f0fb08df19482cd9c7950fc670d38a3f..933994faad56b240cc7ecd3c423e3211e908aef3 100644 (file)
@@ -21,113 +21,24 @@ MACRO       USE_SSLEAY
 
 SOURCEPATH  ../../../lib
 SOURCE \
-  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
+  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
 
 USERINCLUDE   ../../../lib ../../../include/curl
 #ifdef ENABLE_SSL
index bda83577993fd4c1fef0496ce3b83c0efd16405b..93f86cbad43d06ff7115ecbf2255484b022e6643 100644 (file)
@@ -25,8 +25,8 @@ source_group("cURL source files" FILES ${CURL_CFILES})
 source_group("cURL header files" FILES ${CURL_HFILES})
 
 include_directories(
-  ${CURL_SOURCE_DIR}/lib        # To be able to reach "curl_setup_once.h"
-  ${CURL_BINARY_DIR}/lib        # To be able to reach "curl_config.h"
+  ${CURL_SOURCE_DIR}/lib                # To be able to reach "setup_once.h"
+  ${CURL_BINARY_DIR}/lib                # To be able to reach "curl_config.h"
   ${CURL_BINARY_DIR}/include    # To be able to reach "curl/curlbuild.h"
   )
 
index 721ae8495891c4ffa2d872d788efaa5cdba7b215..75edf488bae2e015f2beed0318798631e001b53c 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 = curl_rawstr.c curl_nonblock.c
+CURLX_SOURCES = rawstr.c nonblock.c
 
 OBJS = $(CURL_CFILES:.c=.obj)
 !ifdef %curl_static
index 4e1d4271fd3772de30ae585ba3e9c0ce96f444e4..7ce30f0b62d858c4a4061f29f685866c07708e8f 100644 (file)
@@ -9,11 +9,10 @@
 
 # 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/curl_nonblock.c \
-       $(top_srcdir)/lib/curl_rawstr.c \
-       $(top_srcdir)/lib/curl_strdup.c \
-       $(top_srcdir)/lib/curl_strtoofft.c
+CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \
+       $(top_srcdir)/lib/strdup.c \
+       $(top_srcdir)/lib/rawstr.c \
+       $(top_srcdir)/lib/nonblock.c
 
 CURL_CFILES = \
        tool_binmode.c \
index 415eec3c12ff3ab088e4a5b520ade6c858739066..073b20d6ae66c1deac21005b4b137b0d9f894196 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___\r
 #                             \___|\___/|_| \_\_____|\r
 #\r
-# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.\r
+# Copyright (C) 1999 - 2012, 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
-       curl_nonblockr.obj \\r
-       curl_rawstrr.obj \\r
-       curl_strtoofftr.obj \\r
+       nonblockr.obj \\r
+       rawstrr.obj \\r
+       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
-       curl_nonblockd.obj \\r
-       curl_rawstrd.obj \\r
-       curl_strtoofftd.obj \\r
+       nonblockd.obj \\r
+       rawstrd.obj \\r
+       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
-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
+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
 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
-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
+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
 tool_binmoded.obj: tool_binmode.c\r
        $(CCD) $(CFLAGS) /Fo"$@" tool_binmode.c\r
 tool_bnamed.obj: tool_bname.c\r
index df6822aae64d212553bdb06e6814852347dac0e5..444b669ba2dfcac87b0c5a63a327852c5139a711 100644 (file)
@@ -140,7 +140,7 @@ HEAD
 if($c) {
     print <<HEAD
 #include <zlib.h>
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 static const unsigned char hugehelpgz[] = {
   /* This mumbo-jumbo is the huge help text compressed with gzip.
      Thanks to this operation, the size of this data shrunk from $gzip
index 26b50ada2635e7d315e23d880e9d1174f6df9a5e..92033ac03c065c372d701652f6f829aa3b14df94 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "tool_binmode.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void set_binmode(FILE *stream)
 {
index 6a2a3316564d50e982f5f03f4093eef5cf4b0a6e..277830546e4dff5e49d9ffe5912c83fdd8482487 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "tool_bname.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifndef HAVE_BASENAME
 
index 321c661337c5b06c7de82444b17a1591e43bd8c8..1850ba0c667ed68439438938b57ce7bfdbdd551f 100644 (file)
@@ -30,7 +30,7 @@
 #include "tool_cb_dbg.h"
 #include "tool_util.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static void dump(const char *timebuf, const char *text,
                  FILE *stream, const unsigned char *ptr, size_t size,
index e6988184a843a281819a9212f0846d7031aaaed2..ef340f7983ce7b3b227df5b48bae3c61fafd30a2 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -31,7 +31,7 @@
 #include "tool_msgs.h"
 #include "tool_cb_hdr.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static char *parse_filename(const char *ptr, size_t len);
 
index 1b8842f2af105fd72c9f5ee83c00945d14cf6d4f..7a701b6927246073e92545a733dba8a29a2da317 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cfgable.h"
 #include "tool_cb_prg.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** callback for CURLOPT_PROGRESSFUNCTION
index 88dfbe8525e6ad546a7cd8158b3b233880c6ef5f..4565a15d6d67c695bf9c6eac03993c53f2d0217f 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cfgable.h"
 #include "tool_cb_rea.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** callback for CURLOPT_READFUNCTION
index 1e36f5962368b35e706b8e9eaf6b185875d29365..2f49e1d96d1440dc47af153ae0c06b810fed7a92 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cfgable.h"
 #include "tool_cb_see.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* OUR_MAX_SEEK_L has 'long' data type, OUR_MAX_SEEK_O has 'curl_off_t,
    both represent the same value. Maximum offset used here when we lseek
index a055b444e73c4d9c8c40493b1e786429dbff8f63..d6688110a4084f803fcdcadc2817678eaccb9c4d 100644 (file)
@@ -29,7 +29,7 @@
 #include "tool_msgs.h"
 #include "tool_cb_wrt.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** callback for CURLOPT_WRITEFUNCTION
index 6cd9d33e7b5947389f657dc1d894e890e2c5b9f3..da11f4afe4a6f56dc9089148b8a0b0775c229e7a 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "tool_cfgable.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void free_config_fields(struct Configurable *config)
 {
index 2011db0e75730fd59b27fc4164e0eb6eb36e5f62..ecce036a09a40b19046e45cb69a06cf579b95575 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "tool_convert.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef HAVE_ICONV
 
index 39158edcd3c3c11bbd2fc11d61ed35ffd4571ee3..4ba1c437527dce779226134fe74cb8bf756c7917 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "tool_dirhie.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef NETWARE
 #  ifndef __NOVELL_LIBC__
index 5afff1ecf470b48770c1e1b3963d8b5199ff9779..4fae91d32c42ee59167e576d82851a40ac692f99 100644 (file)
@@ -35,7 +35,7 @@
 #include "tool_bname.h"
 #include "tool_doswin.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
  * Macros ALWAYS_TRUE and ALWAYS_FALSE are used to avoid compiler warnings.
index 6aaa4116a43ba378cbd24cf7d6aa31411f995714..339dde563282737595b9912a3c46fa45760e6546 100644 (file)
@@ -31,7 +31,7 @@
 #include "tool_easysrc.h"
 #include "tool_msgs.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* global variable definitions, for easy-interface source code generation */
 
index 76a5db1fc8fb3777f1340f190fb50b114f6b4995..12b1a9d46562ea375ed7b93ab7bc7532d898fb13 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -32,7 +32,7 @@
 #include "tool_msgs.h"
 #include "tool_formparse.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /***************************************************************************
  *
index 9938e24ecf08913bf762c443dceb3dbe086f5e07..297b986f5c47cb630d85e3d8620798b0e41ddd2a 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -45,7 +45,7 @@
 #include "tool_parsecfg.h"
 #include "tool_version.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef MSDOS
 #  define USE_WATT32
index 6a841d414aad1654ef9cc7e5924440866939d559..0ac7dcbe01eeda35d9e458de786aa0238a983b32 100644 (file)
@@ -57,7 +57,7 @@
 
 #include "tool_getpass.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef __VMS
 /* VMS implementation */
index 682fee980d2105612ec6b1cd14b96c2117a2e848..124f6404dc8c2d6eb1399126ca547283e55cb62e 100644 (file)
@@ -24,7 +24,7 @@
 #include "tool_panykey.h"
 #include "tool_help.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef MSDOS
 #  define USE_WATT32
index e37576464a605a7709953640c3ab87209dcc8d44..ae8aaaf32df54d16ab5ca469ca2f14d9a86d6216 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -32,7 +32,7 @@
 #include "tool_getparam.h"
 #include "tool_helpers.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** Helper functions that are used from more tha one source file.
index a6e07928f52fe81875da43c2b0172bbdb43d708e..cb90095e515de615eeaddae6436cccecbeb81ce0 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "tool_homedir.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static char *GetEnv(const char *variable, char do_expand)
 {
index c6013a761f04576874e5005752894dbcbea340d1..81b6680c81aead6a33942603ed33fbf16fe30708 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -29,7 +29,7 @@
 
 #include "tool_libinfo.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* global variable definitions, for libcurl run-time info */
 
index dc6d8d75d92652b916e778b3a54eebc16049ab7d..9c0a19f3f1e1c57902518b2d1a5606331a64b23f 100644 (file)
@@ -39,7 +39,7 @@
  * the library level code from this client-side is ugly, but we do this
  * anyway for convenience.
  */
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef __VMS
 static int vms_show = 0;
index ff5f19c3fb72ed0a9ab36220a0057fccd7b543f6..f9e9869b2d059ab48921ba0152a984209bf6f4ec 100644 (file)
@@ -89,7 +89,7 @@ struct win32_crypto_hash {
 #  error "Can't compile METALINK support without a crypto library."
 #endif
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -101,7 +101,7 @@ struct win32_crypto_hash {
 #include "tool_metalink.h"
 #include "tool_msgs.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* Copied from tool_getparam.c */
 #define GetStr(str,val) do { \
index e0cebb1096d68ae8c409e8514fcc245691e53d96..3eda45f91a3ce7d260e059b2cbdd4d1231663427 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "tool_mfiles.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static void AppendNode(struct multi_files **first,
                        struct multi_files **last,
index 9c58afa9c55d8a1e48063d55526c5cbbc30f663d..80fdf4e27bb6f331cb4b4bb0bdf73d86221aeeb8 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cfgable.h"
 #include "tool_msgs.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define WARN_PREFIX "Warning: "
 #define WARN_TEXTWIDTH (79 - (int)strlen(WARN_PREFIX))
index 1f03f0726983327ca14250a69c39aa79379315ac..bcbce2000c1218ad241d28603b0345f99cbdd51c 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -39,7 +39,7 @@
 #  include <netinet/tcp.h>
 #endif
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -74,7 +74,7 @@
 #include "tool_writeout.h"
 #include "tool_xattr.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define CURLseparator  "--_curl_--"
 
@@ -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/curl_telnet.c will Curl_poll() on the input file descriptor
+         * lib/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 4f8cdf0c0911334c1b1be236915af192381480c8..9078b9564e30ed37cf5f2f3d68d7b031dc1c43af 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -37,7 +37,7 @@
 #  include "tool_metalink.h"
 #endif
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
  * my_useragent: returns allocated string with default user agent
index 632cd34bdb2ac5b400d6da0ad417bddaf2a5d64e..d8718e3289ded40eb4c10b6b867130b505c6de21 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "tool_panykey.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void tool_pressanykey(void)
 {
index fe2514dfbd14402e2248a970ac3c024eb77647fc..5d6f8bbc577a2171f2f7573511fd4490fdf27a45 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "tool_setup.h"
 
-#include "curl_rawstr.h"
+#include "rawstr.h"
 
 #define ENABLE_CURLX_PRINTF
 /* use our own printf() functions */
@@ -34,7 +34,7 @@
 #include "tool_msgs.h"
 #include "tool_paramhlp.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 struct getout *new_getout(struct Configurable *config)
 {
index 21d9e90c51b07f7f84aea8ad0285a8b34d745e74..561dada1157f9f3b076db1725abce084b79f166d 100644 (file)
@@ -32,7 +32,7 @@
 #include "tool_msgs.h"
 #include "tool_parsecfg.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define CURLRC DOT_CHAR "curlrc"
 #define ISSEP(x) (((x) == '=') || ((x) == ':'))
index 08c1af5cb249a0216ff67e8f62d877ec9be85bfb..9aefc21d5bdb6d8dca9b845c8c18a991d5af3ba1 100644 (file)
@@ -31,7 +31,7 @@
 #include "tool_easysrc.h"
 #include "tool_setopt.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* Lookup tables for converting setopt values back to symbols */
 /* For enums, values may be in any order. */
index d3dab5c0b296286047deec21c0f05e57418ab8f7..ed3849ba35632f1f2e6cb1246b0c746cf9fc997a 100644 (file)
 #define CURL_NO_OLDIES
 
 /*
- * curl_setup.h may define preprocessor macros such as _FILE_OFFSET_BITS and
+ * setup.h may define preprocessor macros such as _FILE_OFFSET_BITS and
  * _LARGE_FILES in order to support files larger than 2 GB. On platforms
  * where this happens it is mandatory that these macros are defined before
  * any system header file is included, otherwise file handling function
  * prototypes will be misdeclared and curl tool may not build properly;
- * therefore we must include curl_setup.h before curl.h when building curl.
+ * therefore we must include setup.h before curl.h when building curl.
  */
 
-#include "curl_setup.h" /* from the lib directory */
+#include "setup.h" /* from the lib directory */
 
 /*
  * curl tool certainly uses libcurl's external interface.
@@ -67,7 +67,7 @@
 #endif
 
 #ifndef HAVE_STRDUP
-#  include "curl_strdup.h"
+#  include "strdup.h"
 #  define strdup(ptr) curlx_strdup(ptr)
 #endif
 
index e37cde4a5bddfc647ebe45551f9ff2bcf8e90f12..49cdc71b81f351ea8c539e14027c69424741e487 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "tool_sleep.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void tool_go_sleep(long ms)
 {
index 663370a51fff7ee861e4ce591e233dd4a56f5b78..2821d008d4bbaa156a9aa7aac003d60c4c8b5542 100644 (file)
@@ -27,7 +27,7 @@
 #include "tool_urlglob.h"
 #include "tool_vms.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 typedef enum {
   GLOB_OK,
index 0a0fa69604a19d89bae0e151d798d5f05f1b282f..00d205ebc5937690854950ab8e09f07e4c3e9de1 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "tool_util.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #if defined(WIN32) && !defined(MSDOS)
 
index abb5d1a047aaafb0b09872a7e0db8000d366e6f4..4a6a6f58e26b8945e4425e977a0b46c899b0f507 100644 (file)
@@ -34,7 +34,7 @@
 #include "curlmsg_vms.h"
 #include "tool_vms.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void decc$__posix_exit(int __status);
 void decc$exit(int __status);
index 918a8009d32041906180e668a9cdf3c9b410809f..a9462d004292af6398790e3d5fb0880e0fe464c7 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "tool_writeenv.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static const struct
 {
index e84b7ef22daac764a4e7c5e6e9112ed4271fc46a..3c32067e3dc8979e6aeef20376a466d00d5a7f9f 100644 (file)
@@ -27,7 +27,7 @@
 #include "tool_cfgable.h"
 #include "tool_writeout.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 typedef enum {
   VAR_NONE,       /* must be the first */
index cc74c9da2457af67ea503f783b06274e748d9b39..505bdb17a6cf975c38172a776eaef819230c419c 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "tool_xattr.h"
 
-#include "curl_memdebug.h" /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef HAVE_FSETXATTR
 
index 7bd3ff0110f1a4e33a6805bb984f29e5455f92c6..5fb7fe1d1548e0ee221984e4796511d3fc88a426 100644 (file)
@@ -139,15 +139,15 @@ LINK32=link.exe
 # PROP Default_Filter ""\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\curl_nonblock.c\r
+SOURCE=..\lib\nonblock.c\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\curl_rawstr.c\r
+SOURCE=..\lib\rawstr.c\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\curl_strtoofft.c\r
+SOURCE=..\lib\strtoofft.c\r
 # End Source File\r
 # Begin Source File\r
 \r
@@ -311,15 +311,15 @@ SOURCE=".\config-win32.h"
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\curl_nonblock.h\r
+SOURCE=..\lib\nonblock.h\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\curl_rawstr.h\r
+SOURCE=..\lib\rawstr.h\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\lib\curl_strtoofft.h\r
+SOURCE=..\lib\strtoofft.h\r
 # End Source File\r
 # Begin Source File\r
 \r
index 6c0047ef67136b6349fc09cda266e7eedbf00646..ee442394c88a4bfdd3934dcd90b73518d288a523 100755 (executable)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2011, 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
@@ -45,7 +45,7 @@ require "getpart.pm";
 # Boilerplate code for test tool
 my $head =
 '#include "test.h"
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 733cdd31b922cf45812257f40903d60ceb3dff39..896686bd8be4caa1fcb89c69f11421562cc35310 100644 (file)
@@ -5,7 +5,7 @@ function(SETUP_TEST TEST_NAME)          # ARGN are the files in the test
   string(TOUPPER ${TEST_NAME} UPPER_TEST_NAME)
 
   include_directories(
-    ${CURL_SOURCE_DIR}/lib          # To be able to reach "curl_setup_once.h"
+    ${CURL_SOURCE_DIR}/lib          # To be able to reach "setup_once.h"
     ${CURL_BINARY_DIR}/lib          # To be able to reach "curl_config.h"
     ${CURL_BINARY_DIR}/include      # To be able to reach "curl/curlbuild.h"
     )
index 7de115ea2af14a67878330cd8cd9dd60d32d1803..b9789f88f57c37c306e70b1e0ae8a0c5a4e21212 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/curl_warnless.c $(top_srcdir)/lib/curl_warnless.h
+WARNLESS = $(top_srcdir)/lib/warnless.c $(top_srcdir)/lib/warnless.h
 
 # these files are used in every single test program below
 SUPPORTFILES = first.c test.h
index 168294ab6b91960ac3f71af36b259f0fbe77780c..a18c92e8f1aa0bcb924212d18d9d8b7da9c42ed8 100644 (file)
@@ -19,7 +19,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "curl_gethostname.h"
 
index 4533548cd7ed265e991adf020b1e84ff761a45be..253acb21ddef0e80317e725edb2ca6d9a4ab72ab 100644 (file)
@@ -27,7 +27,7 @@
 
 #ifdef CURLDEBUG
 #  define MEMDEBUG_NODEFINES
-#  include "curl_memdebug.h"
+#  include "memdebug.h"
 #endif
 
 int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc,
index 3659d55c9e9bc6537718231bd71263b4679decd2..784bdb2a244a12a78fc6082778e268c80999cc68 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index b78f94df5aaa0dab93d72127b56d17b830d7ddaa..01a382e8236c57c923cc6b66d6e0dc8f292fafd2 100644 (file)
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 30 * 1000
 
index 2368eec45b9ef0241f565b3e9301a1f234fd9cc2..2b50c47335b6d696ab306d32ef13607c4dbd0850 100644 (file)
@@ -34,8 +34,8 @@
 #endif
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index e782d1a3ec53da745e09afbcefea93d730d8f462..dda1d7f42b6d441f2022f641b1c991c45e2a5565 100644 (file)
@@ -22,7 +22,7 @@
 #include "test.h"
 
 #include "testtrace.h"
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef LIB585
 
index 9e5d068758071a3796d8026e05c9462755023541..26275f9776989a78b679fd29b4a8b2e42004b7af 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index f2adf274eb6fbb65294c522e9170e963e4c6f44e..554583ae2aa45ea74d5d0acfa8ebeaa69cec0245 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 19514932962d8f6d9caff461063fdd44e37694ae..50277f7d354365f563137822a3560286d4cbcde6 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 1e2584f3a5dddd714a53b616fd6c066b9128828b..358fc98dc8080cfdb7596d1e71f29761791ebf70 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 6ff4e84789c0eed479bf9e6d8d40f8520bc1883b..99b3a0afe60a4a0afc2f176acf5a42e178f7ec37 100644 (file)
@@ -25,7 +25,7 @@
 #include <fcntl.h>
 #endif
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * This example shows an FTP upload, with a rename of the file just after
index 0b46456704b5da90e8fad37dc8980bfddb6ba3d9..4477eaa50f322e1a85469b401c81fc6c4068ee85 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static const char *HOSTHEADER = "Host: www.host.foo.com";
 static const char *JAR = "log/jar506";
index a27bf99f1de820308a466f1303ed0372c601535c..87c21defbdf6372bbb84955fd32e47d73de73131 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index c8fada3de53df7a07758c3d7c168369181c2d5a9..1aca064e9bc45ef7e4d0c2b08be8ab85e354575f 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static char data[]="this is what we post to the silly web server\n";
 
index 0ec8b1e5862b22e66b431ea1595d67760e8fc1b7..8278631c13602f75788525a893cbf8ef9d2d8c66 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static const char *post[]={
   "one",
index f90804b2ae85786bf57130446f0afd69a233eadd..6be2d2f76cc7bec2cafb3b0a690b12e002802ccd 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 364744481b74110d3c0cd9288280418dc7f4c712..19da18b4fca9e9c9ec3cfa1fd7bb98014a6ffc0b 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* Test case code based on source in a bug report filed by James Bursa on
    28 Apr 2004 */
index efec49b0a39dc44359e781e228fd1b98d60eb153..c013ac258acf056d730b98a627920e84556193fe 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
 {
index 7e0066ce51565383e987ddbc05244bb406d030a2..953e90dff1838380d70427757bd3eb36c1dd4fb3 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index e403840de6842d06aaef91c10a14502046ae57d5..4e96c4a8d88e6603a58ba138f86c226fdc14362d 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 96ee441148209c359fc3c4332eeb5b7871249c32..a9590948dde93b69b450cc323d6bd1696c626a22 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index e728acfa2a0dd457946ee51ecdc8dd713593a96a..ba49ec41ec641d9c9aaede226971184a31f60e9f 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static const char * const dates[]={
   "Sun, 06 Nov 1994 08:49:37 GMT",
index f5b4eb67a4ccc53607b5cc520b073fa4847ad27a..23f7f17c61eaf358340363aaf2a9d6cf828971ad 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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,8 +31,8 @@
 #include <limits.h>
 #endif
 
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #ifndef FD_SETSIZE
 #error "this test requires FD_SETSIZE"
@@ -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/curl_select.c enforces this check and protects libcurl
+   * in lib/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 43efc1753c48cc59b3cafb3d83d46c8e8d188d10..b720c8feeeef74df7e9637a9525a7c0474b1d4c8 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 6d70411c4d8b4ea07c047d6749a1a0e796f06bbe..9ffaa4f9212a6620203543d09438d070b93b52a8 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 57d938b9927ca9e2afc10ff636ebf861c6a97054..93c306864b59364d3268b7aff79256052d451caf 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index e7004e20f049d3b5b2127a1a6a056a0b3c2e391a..0fdc83db621e15a6b6312ca96b2e2f1cac4ae202 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 45aee7fb8ce5abd9f1cdd67b7044ae039c0b20c2..6f56df9b0197401c5da37c1dfd2ccc55680bf1ff 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index ce7d559d4257592de1cc848903e31c5b550c97fe..ca128cb9c641c8b5848a3b2e15d324aa568ad53b 100644 (file)
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index a89442684ff889e0e5466287689a36dd9de51cc9..9db04dba701d69a1a1098bf2ba9a106390ab48e9 100644 (file)
@@ -43,8 +43,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index ba933b3357f9efc21aa695b95dc1101e62623c58..ad84ff8a5579b6328c7d00168c135cf76c2bb292 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 6b2671b51ce506efe997440efaa5a3a59ae81c93..fdc18a1eb959c4a902cbdc86f4fb3e828ae8ffac 100644 (file)
@@ -26,8 +26,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 1f7a798d17225d3d538464a19e56a6f7154e9531..e3ae402b710e02785d71f6ed64dc24ce1ee2c22c 100644 (file)
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 1c6210e847314917af5de18b2c475cb592486f1d..24d2522353053969de7cf8c0d344f8efd04f2fd7 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, 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,8 +31,8 @@
 #include <limits.h>
 #endif
 
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #if !defined(HAVE_POLL_FINE)    && \
     !defined(USE_WINSOCK)       && \
@@ -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/curl_select.c enforces this check and protects libcurl
+   * in lib/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 2e6396a13ba64b44df6bfb1fb01d8520b66bdb16..923893fb2fecb29aacc99fa4a6c8e0ea777b4f8b 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index a36693de398298d25b13c209a3cded2d7ded8e3c..ac0ebe60b745bf7332b6d09628d36ca45323900c 100644 (file)
@@ -35,8 +35,8 @@
 #endif
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 22388bdabcad6e94dc01deeab66ac9fb3d75c622..5fe8dd8ad807419771cc7b853c94d9f17b150029 100644 (file)
@@ -25,7 +25,7 @@
 #include <fcntl.h>
 #endif
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Two FTP uploads, the second with no content sent.
index a5cb3e2040f96f75641af9bc2033aa8ca32a02fb..84f493f3e2688b5ecba697ba7e818967e7d35aaf 100644 (file)
@@ -25,7 +25,7 @@
 #include <fcntl.h>
 #endif
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * FTP get with NOBODY but no HEADER
index 35e32e6f4564f2f37072cd98922c51343d8b7508..b4a31ca9add63aaff88898ba4a1e65f9af1afc68 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index adb0345fb08a4ee195da7816ed0cedfd44ff55e7..b766187f27b063f9e690c6ac58768f85c6580239 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static char teststring[] =
 #ifdef CURL_DOES_CONVERSIONS
index 58d10824def4d65f747d2881a207fa7f2ef63cb1..c82bc3f232bb72f796e7890e16c7a64651b9cffa 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #ifdef CURL_DOES_CONVERSIONS
    /* ASCII representation with escape sequences for non-ASCII platforms */
index 8856ef174909f3cdd838c2ed640051343a35e228..a1568c88f4517f41d54fea6e0edb30e2fa9d0ab9 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 1d3278fa8ed4f10297e73db5c85b9ebde52bf1e6..2cc942ad4f39685ad302a2fbc0f34c6ac6509b74 100644 (file)
@@ -25,8 +25,8 @@
 
 #include "test.h"
 
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 struct data {
   char trace_ascii; /* 1 or 0 */
index ce96cebbb3f8a3d7ca6761fb97afba032398b245..cb1cefd5e61dae2ed7f0ddf8278f762218cbd498 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define POSTLEN 40960
 
index 1c90b9b0ba2ce987ae07e14f0589a1399643772a..0596f3ef19150926308ca027828fb947cd9f88f2 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static char data[]=
 #ifdef CURL_DOES_CONVERSIONS
index 3c42051796b2ced9fec0228f6cd0758eb1fd566c..49a81bf577423e66c19486271b05e1908cfd3326 100644 (file)
@@ -30,8 +30,8 @@
 
 #include "test.h"
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 1eb2e1562c38851d1a3e1d5ae932456b59329ee2..98062209f60c54985293ab9b2dad0fed4a34c6d9 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* For Windows, mainly (may be moved in a config file?) */
 #ifndef STDIN_FILENO
index 721338867747fd35daf432f532247b2d962abf5e..dc3bcae865adb8b22803ab966cb48f14adbac214 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 
 #if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG)
index 90c07323b1ae099dcf69e7bb77b5d10e968d7ad4..e8be1c7bddee2dbecf99dc1ec0a00bd999762132 100644 (file)
@@ -22,8 +22,8 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index b00bd83d108720995976ef7fb23f7a2aa67884e7..a5f0ea534884f7e9fed764bd10f55a32a1fa95c3 100644 (file)
@@ -25,7 +25,7 @@
 #include <fcntl.h>
 #endif
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * From "KNOWN_BUGS" April 2009:
index 84d0a20b67e885d55a23303fb04793fa6b3848dc..ed00e1bf62a3641891f9d44932ff79fe1e189229 100644 (file)
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index f95872c5a9ecb47828150f156d473ae5081c12c4..ba839d65f9a4ce1b367ddbf5f2efe4ed6286b14c 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 8b698394e0e45b267f51f94470774bc71f300723..573529cd86abec34abc553ed923f1e658d8fd60e 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /*
  * Test a simple OPTIONS request with a custom header
index 3e69a68f0a28c6a4d397b508a7fcc76ca8d749c0..4b15821f28ec2c9396e6fea7f9c44596e10d091b 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* build request url */
 static char *suburl(const char *base, int i)
index c7635f19aa4b79cb7e286aa1b80205dcca1c58e7..a434d7459ea8ecc72c3281f964665b2a2146392f 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* build request url */
 static char *suburl(const char *base, int i)
index b9a105f08b5beaa518c976fd492b05e8b0a45ecc..a9fac9915ec5e6f1b7d548072005fb4637489a4f 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* build request url */
 static char *suburl(const char *base, int i)
index 977c7723ea97bdb49447bfcf6c3b5195a9cc95e7..ba0aa1ce414cf789a9e83ee4ac44343cf7f33813 100644 (file)
@@ -39,8 +39,8 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define RTP_PKT_CHANNEL(p)   ((int)((unsigned char)((p)[1])))
 
index 78e5c804c1568c66be326df52524c6b894960009..3df4d036ac41b1de2ad790ed25d38f3b16308aba 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* build request url */
 static char *suburl(const char *base, int i)
index 34fdb99bd1811edd88ac688e7f1adce18feab2ca..b49d26a5df162fda1cac3236f62917890e679162 100644 (file)
@@ -23,8 +23,8 @@
 
 #include "testtrace.h"
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 4f77ae394adb0b151c2cab89a24bf3d114c84158..afb2bceaef67a4de459cb3b76e72765bc605a3c6 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static int new_fnmatch(const char *pattern, const char *string)
 {
index 74d098ee15367ad7c90ea494d5d0986e3106e5ea..942df68c5798f86c4723f364ce4ec1d363c3f310 100644 (file)
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 7ee86c68c5052d338abbc81703cdf8380627a10e..61bb61325d7f0778f52a586ef138ca45e1036e24 100644 (file)
@@ -22,7 +22,7 @@
 #include "test.h"
 
 #include "testutil.h"
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 typedef struct {
   int remains;
index eee42663b6ee8836b383da7ab50c77e121ca8d73..a39b31772a8fab6a7582588a98e6a7749bfae6d5 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 /* The size of data should be kept below MAX_INITIAL_POST_SIZE! */
 static char data[]="this is a short string.\n";
index e6c0e6f6e39a034f98b8597841b64b249e95e886..c5cf603bbf0ba14d0b2145067d88621415ccd774 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static const char * const post[]={
   "one",
index bd88e43aa66116cc88236518ee05053c9fe33bf2..952efb4ed90d91bfe651c5748c8f24ed59c2a4e3 100644 (file)
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index 4ef9e5a355e3778844ac895ea140e3d04497443c..ad5a5cea79bde3ad2d74e386a93607968b6d823b 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <sys/stat.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 34f0939671f40fe808b7274743fc87b8fb32a625..2cf04fe85043e24b54fdef3fcd3cf2622168feaa 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <curl/mprintf.h>
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #define THREADS 2
 
index 26e88731cce8785f5802247736e3b0bff98e0727..68603c65ea1ee80f6f280ab84e79fedeb7f53726 100644 (file)
@@ -34,7 +34,7 @@
   - Start the request
 */
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 48648fb2426c0b2b8d2d2a981ad5259b7a65cbb0..5cd4644e305c2829fd847cd25e4900ae026a1eb3 100644 (file)
@@ -30,8 +30,8 @@
 #include <fcntl.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 60 * 1000
 
index aae6500ae906246ebec01217d540c28ec7ff8744..a27cefd5ba1f09ca2f92c9b1bcaacc7c65999a6d 100644 (file)
@@ -26,8 +26,8 @@
 #endif
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 5 * 1000
 
index 53fabd168b71e7df1b16e0fe68de9c1cf15d65ba..e9c1ad776f0a62d5be35e813d4328318fd0b6273 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 int test(char *URL)
 {
index 6de586932e9cdf4cabb945aefa0915a0dcab9150..6b092677a0f03814fba8966ec8a118760722a2cf 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "test.h"
 
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 static int progress_callback(void *clientp, double dltotal,
                              double dlnow, double ultotal, double ulnow)
index c5cc6cfd83ff5e82df8d2b94063d9bdac39dbeb6..95761325abad2075322f5b6b05ff25f679d85bd0 100644 (file)
@@ -25,8 +25,8 @@
  */
 
 #include "test.h"
-#include "curl_strequal.h"
-#include "curl_memdebug.h"
+#include "strequal.h"
+#include "memdebug.h"
 
 static CURLcode send_request(CURL *curl, const char *url, int seq,
                              long auth_scheme, const char *userpwd)
index c7cc93350070539a264eb3e31472f0d44c79fff5..b540ebf580a14d60982497be9da6c1a1d3463ea7 100644 (file)
@@ -27,8 +27,8 @@
 #include <assert.h>
 
 #include "testutil.h"
-#include "curl_warnless.h"
-#include "curl_memdebug.h"
+#include "warnless.h"
+#include "memdebug.h"
 
 #define TEST_HANG_TIMEOUT 5 * 1000
 #define MAX_EASY_HANDLES 3
index 9da6a67307f88fed87e7fbb5d65c1d62d2437860..f131fe9fb3a8625163b0633ee759c8aaeaaf0125 100644 (file)
@@ -19,7 +19,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "sethostname.h"
 
index b45e7211205561d67b1929d8ada0df99d21c262e..fcc91ad8bfc82eae717803c2b1d5b86ce189554c 100644 (file)
  *
  ***************************************************************************/
 
-/* Now include the curl_setup.h file from libcurl's private libdir (the
-   source version, but that might include "curl_config.h" from the build
-   dir so we need both of them in the include path), so that we get good
-   in-depth knowledge about the system we're building this on */
+/* Now include the setup.h file from libcurl's private libdir (the source
+   version, but that might include "curl_config.h" from the build dir so we
+   need both of them in the include path), so that we get good in-depth
+   knowledge about the system we're building this on */
 
 #define CURL_NO_OLDIES
 
-#include "curl_setup.h"
+#include "setup.h"
 
 #include <curl/curl.h>
 
@@ -37,7 +37,7 @@
 #endif
 
 #ifdef TPF
-#  include "curl_select.h"
+#  include "select.h"
 #endif
 
 #define test_setopt(A,B,C) \
index 0f74d8d9fd49d088209980e333f6e1ac6aea568e..c977d2105360ba853b7fe5a46573abf497db9a43 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "testutil.h"
 #include "testtrace.h"
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 struct libtest_trace_cfg libtest_debug_config;
 
index 456d799e72dec44c8365db45bbe83813594d438d..3ad18c98731789cb0e540d2af69be7d731fa21e8 100644 (file)
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 #include "testutil.h"
-#include "curl_memdebug.h"
+#include "memdebug.h"
 
 #if defined(WIN32) && !defined(MSDOS)
 
index a236970a6784c84fa0d3ec8628760fd83393be60..0c6be2fc432d702a6862cd4f3158fe23c370d0a0 100644 (file)
@@ -21,7 +21,7 @@
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "curl_setup.h"
+#include "setup.h"
 
 struct timeval tutil_tvnow(void);
 
index 8f599ae0a6a25bfc4302950de6480c9a28f24c81..676df25e91189051bc05c74d79b27d4284e21497 100644 (file)
@@ -46,7 +46,7 @@ sub scanfile {
         if($_ =~ /(free|alloc|strdup)\(/) {
             $memfunc++;
         }
-        elsif($_ =~ /^ *# *include \"curl_memdebug.h\"/) {
+        elsif($_ =~ /^ *# *include \"memdebug.h\"/) {
             $memdebug++;
         }
         elsif($_ =~ /^ *# *include \"curl_memory.h\"/) {
@@ -70,7 +70,7 @@ sub scanfile {
         }
         else {
             if(!$memdebug) {
-                print STDERR "$file doesn't include \"curl_memdebug.h\"!\n";
+                print STDERR "$file doesn't include \"memdebug.h\"!\n";
             }
             if(!$curlmem) {
                 print STDERR "$file doesn't include \"curl_memory.h\"!\n";
index 5f5bdfc2ffcb14d617bed67f1ca0a5024e478015..bf539336552110a0b5845dc3aaeb56af563d633b 100755 (executable)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2011, 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 curl_mprintf.c:1094 malloc(32) = e5718
-# MEM curl_mprintf.c:1103 realloc(e5718, 64) = e6118
-# MEM curl_sendf.c:232 free(f6520)
+# MEM mprintf.c:1094 malloc(32) = e5718
+# MEM mprintf.c:1103 realloc(e5718, 64) = e6118
+# MEM 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 curl_url.c:1282 socket() = 5
+    # FD url.c:1282 socket() = 5
     elsif($_ =~ /^FD ([^ ]*):(\d*) (.*)/) {
         # generic match for the filename+linenumber
         $source = $1;
@@ -259,7 +259,7 @@ while(<FILE>) {
             }
         }
     }
-    # FILE curl_url.c:1282 fopen("blabla") = 0x5ddd
+    # FILE url.c:1282 fopen("blabla") = 0x5ddd
     elsif($_ =~ /^FILE ([^ ]*):(\d*) (.*)/) {
         # generic match for the filename+linenumber
         $source = $1;
@@ -287,12 +287,12 @@ while(<FILE>) {
             }
         }
     }
-    # GETNAME curl_url.c:1901 getnameinfo()
+    # GETNAME url.c:1901 getnameinfo()
     elsif($_ =~ /^GETNAME ([^ ]*):(\d*) (.*)/) {
         # not much to do
     }
 
-    # ADDR curl_url.c:1282 getaddrinfo() = 0x5ddd
+    # ADDR url.c:1282 getaddrinfo() = 0x5ddd
     elsif($_ =~ /^ADDR ([^ ]*):(\d*) (.*)/) {
         # generic match for the filename+linenumber
         $source = $1;
index fc07b61d91a8daf62e91784ee33507b6ddc176a2..0401df215664c1e24caf559dbe8cb7a142ea35ef 100644 (file)
@@ -5,8 +5,8 @@ function(SETUP_EXECUTABLE TEST_NAME)    # ARGN are the files in the test
   string(TOUPPER ${TEST_NAME} UPPER_TEST_NAME)
 
   include_directories(
-    ${CURL_SOURCE_DIR}/lib      # To be able to reach "curl_setup_once.h"
-    ${CURL_BINARY_DIR}/lib      # To be able to reach "curl_config.h"
+    ${CURL_SOURCE_DIR}/lib              # To be able to reach "setup_once.h"
+    ${CURL_BINARY_DIR}/lib              # To be able to reach "curl_config.h"
     ${CURL_BINARY_DIR}/include  # To be able to reach "curl/curlbuild.h"
     )
   if(CURL_USE_ARES)
@@ -56,16 +56,16 @@ endforeach()
 
 # SET(useful
 # getpart.c getpart.h
-# ${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
+# ${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
 # )
 
 # 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/curl_inet_pton.c)
+# SETUP_EXECUTABLE(sockfilt sockfilt.c util.c util.h ${useful} ${CURL_SOURCE_DIR}/lib/inet_pton.c)
 # SETUP_EXECUTABLE(getpart testpart.c ${useful})
-# SETUP_EXECUTABLE(tftpd tftpd.c util.c util.h ${useful} server_tftp.h)
+# SETUP_EXECUTABLE(tftpd tftpd.c util.c util.h ${useful} tftp.h)
 
index b0c32bdf21f1b40ff35b803f5b1ce93509abc5ff..4a12ea8722e24f1a3e0d01abefae6b273f4aa4b4 100644 (file)
@@ -1,29 +1,29 @@
 noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm
 
 CURLX_SRCS = \
- $(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
+ $(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
 
 CURLX_HDRS = \
  $(top_srcdir)/lib/curlx.h \
- $(top_srcdir)/lib/curl_nonblock.h \
- $(top_srcdir)/lib/curl_strequal.h \
- $(top_srcdir)/lib/curl_strtoofft.h \
- $(top_srcdir)/lib/curl_timeval.h \
- $(top_srcdir)/lib/curl_warnless.h
+ $(top_srcdir)/lib/nonblock.h \
+ $(top_srcdir)/lib/strequal.h \
+ $(top_srcdir)/lib/strtoofft.h \
+ $(top_srcdir)/lib/timeval.h \
+ $(top_srcdir)/lib/warnless.h
 
 USEFUL = \
  getpart.c \
  getpart.h \
  server_setup.h \
- $(top_srcdir)/lib/curl_base64.c \
+ $(top_srcdir)/lib/base64.c \
  $(top_srcdir)/lib/curl_base64.h \
- $(top_srcdir)/lib/curl_memdebug.c \
- $(top_srcdir)/lib/curl_memdebug.h
+ $(top_srcdir)/lib/memdebug.c \
+ $(top_srcdir)/lib/memdebug.h
 
 UTIL = \
  util.c \
@@ -48,21 +48,21 @@ rtspd_CFLAGS = $(AM_CFLAGS)
 sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
  server_sockaddr.h \
  sockfilt.c \
- $(top_srcdir)/lib/curl_inet_pton.c
+ $(top_srcdir)/lib/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/curl_inet_pton.c
+ $(top_srcdir)/lib/inet_pton.c
 sws_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
 sws_CFLAGS = $(AM_CFLAGS)
 
 tftpd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
  server_sockaddr.h \
  tftpd.c \
server_tftp.h
+ tftp.h
 tftpd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
 tftpd_CFLAGS = $(AM_CFLAGS)
 
index 1c10e48128f5e61e3acbcb196023ffd1e4fce8d3..64f0675e7491f4e7749f9f766159b56ab554aa60 100644 (file)
@@ -34,8 +34,8 @@
 #include "getpart.h"
 #include "util.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 #ifndef DEFAULT_LOGFILE
 #define DEFAULT_LOGFILE "log/fake_ntlm.log"
index 56719f05bee987d1131dd23f387b4a08dd3b837e..f37f88cba69a550e29d437512c9d568b2af59954 100644 (file)
@@ -36,8 +36,8 @@ struct SessionHandle {
 #include "curl_base64.h"
 #include "curl_memory.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 #define EAT_SPACE(p) while(*(p) && ISSPACE(*(p))) (p)++
 
index a094b4d70295089552ddb09c6729fbaf92b03621..d0609888a42e2ae6e103712cb5f8319d234e5d5d 100644 (file)
@@ -51,8 +51,8 @@
 #include "curlx.h" /* from the private lib dir */
 #include "util.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 static bool use_ipv6 = FALSE;
 static const char *ipv_inuse = "IPv4";
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
       hints.ai_socktype = SOCK_STREAM;
       hints.ai_flags = AI_CANONNAME;
       /* Use parenthesis around function to stop it from being replaced by
-      the macro in curl_memdebug.h */
+      the macro in memdebug.h */
       rc = (getaddrinfo)(host, "80", &hints, &ai);
     }
 
index 65f84e6e1eb782ae7b9f41573d6c039935b64aca..3c55eff3527290f3582212f386d6d4879f4bada0 100644 (file)
@@ -51,8 +51,8 @@
 #include "util.h"
 #include "server_sockaddr.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 #ifdef ENABLE_IPV6
 static bool use_ipv6 = FALSE;
index d3efc93eb4feae797a8b09a4b515742b6fcbc8db..193ad84d70ca7a28cfaaa29ef18f4a8bb4ba26ab 100644 (file)
@@ -24,7 +24,6 @@
 
 #define CURL_NO_OLDIES
 
-#include "curl_setup.h" /* portability help from the lib directory */
+#include "setup.h" /* portability help from the lib directory */
 
 #endif /* HEADER_CURL_SERVER_SETUP_H */
-
index 394449ca945c4bc2a2d0ebabbd521d46de9e43a7..93d0b5d14234257d8eaf246108b8489a682ed7c8 100644 (file)
    versions instead */
 #include "curlx.h" /* from the private lib dir */
 #include "getpart.h"
-#include "curl_inet_pton.h"
+#include "inet_pton.h"
 #include "util.h"
 #include "server_sockaddr.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 #define DEFAULT_PORT 8999
 
index 3afbe3e8307ef1bbb827ea03b2fe400947f2e4a8..44d899fd7e362dc3af59f7f0c02c4942f685767a 100644 (file)
    versions instead */
 #include "curlx.h" /* from the private lib dir */
 #include "getpart.h"
-#include "curl_inet_pton.h"
+#include "inet_pton.h"
 #include "util.h"
 #include "server_sockaddr.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 #ifdef ENABLE_IPV6
 static bool use_ipv6 = FALSE;
index 255bbe8d353b41f3619f805f639b463e7c94cfb1..912096f0b9c4da6a3c4f816485eac940be07bfc8 100644 (file)
@@ -26,8 +26,8 @@
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 int main(int argc, char **argv)
 {
index c1033a5c089f5aee7db20d1b4c8bea42755a5abc..e8c3c2d8272c8c4f9c44979af29bdec9c98eee0e 100644 (file)
@@ -67,7 +67,7 @@
 #ifdef HAVE_ARPA_TFTP_H
 #include <arpa/tftp.h>
 #else
-#include "server_tftp.h"
+#include "tftp.h"
 #endif
 #ifdef HAVE_NETDB_H
 #include <netdb.h>
@@ -91,8 +91,8 @@
 #include "util.h"
 #include "server_sockaddr.h"
 
-/* include curl_memdebug.h last */
-#include "curl_memdebug.h"
+/* include memdebug.h last */
+#include "memdebug.h"
 
 /*****************************************************************************
 *                      STRUCT DECLARATIONS AND DEFINES                       *
index ef3c8f6a34af3d3144f484ad4ac4440651b29728..30766d80f3df3ffc0d0bdf7b5a0d865980b4d5e9 100644 (file)
@@ -46,7 +46,7 @@
 #include "curlx.h" /* from the private lib dir */
 #include "getpart.h"
 #include "util.h"
-#include "curl_timeval.h"
+#include "timeval.h"
 
 #if defined(ENABLE_IPV6) && defined(__MINGW32__)
 const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }};
index ba27e4ecc5e66db38630bf3f94f4a987eb3a5034..2b8341683c1476791fcb34ef3b84273cfc315fff 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "curlcheck.h"
 
-#include "curl_llist.h"
+#include "llist.h"
 
 static struct curl_llist *llist;
 
index 5baf4d5c02493fb6dcb4c963b90c425315208fd6..47df481a83f07afc13fe9564f1fb85fe5080911c 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "curlcheck.h"
 
-#include "curl_strequal.h"
+#include "strequal.h"
 
 static CURLcode unit_setup( void ) {return CURLE_OK;}
 static void unit_stop( void ) {}
index e431fffca411f2405f3bd4d9f75af225b975ef2d..fc50c88656e97d211d71e19d308573dad5be5a97 100644 (file)
  ***************************************************************************/
 #include "curlcheck.h"
 
-#include "curl_urldata.h"
-#include "curl_url.h"
+#include "urldata.h"
+#include "url.h" /* for Curl_safefree */
 #include "curl_base64.h"
-#include "curl_memdebug.h" /* LAST include file */
+#include "memdebug.h" /* LAST include file */
 
 static struct SessionHandle *data;
 
index 7e9dbc15832536eacc6c3de94865332bee3a8e46..2e4f23096b43d7b7b7e383fb166431355e5142b3 100644 (file)
@@ -21,9 +21,9 @@
  ***************************************************************************/
 #include "curlcheck.h"
 
-#include "curl_urldata.h"
-#include "curl_connect.h"
-#include "curl_memdebug.h" /* LAST include file */
+#include "urldata.h"
+#include "connect.h"
+#include "memdebug.h" /* LAST include file */
 
 static struct SessionHandle *data;
 
index 3ebd89cbdbbe8bd1d7afcd40a815d04259e94e02..8ddd8caee849a522c20d63afb2ba6b31d0ee374d 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "curlcheck.h"
 
-#include "curl_netrc.h"
+#include "netrc.h"
 
 static char login[LOGINSIZE];
 static char password[PASSWORDSIZE];
index a4b4311148df699a71f25b970506bfe5da8e74fb..5900c6dd5480a649c0b4dd8619c27ba65abd7648 100644 (file)
 #define ENABLE_CURLX_PRINTF
 #include "curlx.h"
 
-#include "curl_hash.h"
-#include "curl_hostip.h"
+#include "hash.h"
+#include "hostip.h"
 
 #include "curl_memory.h"
-#include "curl_memdebug.h" /* LAST include file */
+#include "memdebug.h" /* LAST include file */
 
 static struct SessionHandle *data;
 static struct curl_hash *hp;
index 4a741a19d7330c1c58c1f0d11c50cd9402ffe195..1304ba18e9413e0b1eff90f800fac07ec11366f8 100644 (file)
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include "curlcheck.h"
 
-#include "curl_splay.h"
+#include "splay.h"
 
 
 static CURLcode unit_setup(void)
index 921fb066d6b864209d3be86143092cb937e5899b..5e8b392538284043ae827fd8dc0d368e5e09ff32 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)\curl_nonblock.obj \\r
- $(CURL_DIROBJ)\curl_rawstr.obj \\r
- $(CURL_DIROBJ)\curl_strtoofft.obj\r
+ $(CURL_DIROBJ)\nonblock.obj \\r
+ $(CURL_DIROBJ)\rawstr.obj \\r
+ $(CURL_DIROBJ)\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)\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)\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.res: $(CURL_SRC_DIR)\curl.rc\r
        rc $(CURL_RC_FLAGS)\r
 \r