Permalink
Browse files

sources: update source headers

All C and H files now (should) feature the proper project curl source
code header, which includes basic info, a copyright statement and some
basic disclaimers.
  • Loading branch information...
bagder committed Mar 10, 2011
1 parent 70cb3f2 commit 1aeb635cdd296c16acb375a4a83a78f13166ccab
Showing with 2,175 additions and 310 deletions.
  1. +21 −0 CMake/CurlTests.c
  2. +15 −2 docs/examples/10-at-a-time.c
  3. +15 −3 docs/examples/anyauthput.c
  4. +15 −2 docs/examples/cacertinmem.c
  5. +21 −3 docs/examples/certinfo.c
  6. +15 −2 docs/examples/chkspeed.c
  7. +16 −3 docs/examples/cookie_interface.c
  8. +15 −3 docs/examples/debug.c
  9. +15 −2 docs/examples/evhiperfifo.c
  10. +15 −3 docs/examples/fileupload.c
  11. +15 −3 docs/examples/ftp-wildcard.c
  12. +15 −3 docs/examples/ftpget.c
  13. +15 −3 docs/examples/ftpgetinfo.c
  14. +15 −3 docs/examples/ftpgetresp.c
  15. +15 −3 docs/examples/ftpupload.c
  16. +15 −2 docs/examples/ftpuploadresume.c
  17. +15 −3 docs/examples/getinfo.c
  18. +15 −2 docs/examples/getinmemory.c
  19. +15 −2 docs/examples/ghiper.c
  20. +17 −4 docs/examples/hiperfifo.c
  21. +15 −2 docs/examples/htmltidy.c
  22. +15 −3 docs/examples/http-post.c
  23. +15 −3 docs/examples/httpcustomheader.c
  24. +15 −3 docs/examples/httpput.c
  25. +15 −3 docs/examples/https.c
  26. +15 −3 docs/examples/multi-app.c
  27. +15 −4 docs/examples/multi-debugcallback.c
  28. +14 −4 docs/examples/multi-double.c
  29. +16 −4 docs/examples/multi-post.c
  30. +15 −3 docs/examples/multi-single.c
  31. +15 −3 docs/examples/multithread.c
  32. +15 −2 docs/examples/opensslthreadlock.c
  33. +15 −3 docs/examples/persistant.c
  34. +15 −3 docs/examples/post-callback.c
  35. +15 −2 docs/examples/postit2.c
  36. +15 −2 docs/examples/sampleconv.c
  37. +15 −3 docs/examples/sendrecv.c
  38. +15 −3 docs/examples/sepheaders.c
  39. +15 −3 docs/examples/simple.c
  40. +15 −3 docs/examples/simplepost.c
  41. +15 −3 docs/examples/simplesmtp.c
  42. +15 −3 docs/examples/simplessl.c
  43. +15 −2 docs/examples/smooth-gtk-thread.c
  44. +15 −2 docs/examples/smtp-multi.c
  45. +15 −3 docs/examples/smtp-tls.c
  46. +15 −2 docs/examples/synctime.c
  47. +15 −2 docs/examples/threaded-ssl.c
  48. +21 −0 lib/config-dos.h
  49. +21 −0 lib/config-mac.h
  50. +21 −0 lib/config-os400.h
  51. +22 −1 lib/config-riscos.h
  52. +21 −0 lib/config-symbian.h
  53. +21 −0 lib/config-tpf.h
  54. +21 −0 lib/config-vms.h
  55. +21 −0 lib/config-vxworks.h
  56. +21 −0 lib/config-win32.h
  57. +21 −0 lib/config-win32ce.h
  58. +21 −0 packages/vms/curlmsg.h
  59. +21 −0 packages/vms/curlmsg_vms.h
  60. +21 −0 src/config-mac.h
  61. +21 −0 src/config-riscos.h
  62. +21 −0 src/config-win32.h
  63. +21 −0 tests/libtest/chkhostname.c
  64. +15 −3 tests/libtest/first.c
  65. +15 −3 tests/libtest/lib500.c
  66. +15 −3 tests/libtest/lib501.c
  67. +15 −3 tests/libtest/lib502.c
  68. +15 −3 tests/libtest/lib503.c
  69. +15 −3 tests/libtest/lib504.c
  70. +15 −3 tests/libtest/lib505.c
  71. +15 −3 tests/libtest/lib506.c
  72. +15 −3 tests/libtest/lib507.c
  73. +15 −3 tests/libtest/lib508.c
  74. +15 −3 tests/libtest/lib510.c
  75. +15 −3 tests/libtest/lib511.c
  76. +15 −3 tests/libtest/lib512.c
  77. +15 −3 tests/libtest/lib513.c
  78. +15 −3 tests/libtest/lib514.c
  79. +15 −3 tests/libtest/lib515.c
  80. +15 −3 tests/libtest/lib516.c
  81. +15 −3 tests/libtest/lib517.c
  82. +15 −3 tests/libtest/lib518.c
  83. +15 −3 tests/libtest/lib519.c
  84. +15 −3 tests/libtest/lib520.c
  85. +15 −3 tests/libtest/lib521.c
  86. +15 −3 tests/libtest/lib523.c
  87. +15 −3 tests/libtest/lib524.c
  88. +15 −3 tests/libtest/lib525.c
  89. +15 −3 tests/libtest/lib526.c
  90. +15 −3 tests/libtest/lib530.c
  91. +15 −3 tests/libtest/lib533.c
  92. +15 −3 tests/libtest/lib536.c
  93. +15 −3 tests/libtest/lib537.c
  94. +21 −9 tests/libtest/lib539.c
  95. +15 −2 tests/libtest/lib540.c
  96. +15 −3 tests/libtest/lib541.c
  97. +15 −3 tests/libtest/lib542.c
  98. +15 −3 tests/libtest/lib543.c
  99. +15 −3 tests/libtest/lib544.c
  100. +15 −2 tests/libtest/lib547.c
  101. +15 −2 tests/libtest/lib549.c
  102. +15 −2 tests/libtest/lib552.c
  103. +16 −2 tests/libtest/lib553.c
  104. +15 −3 tests/libtest/lib554.c
  105. +16 −2 tests/libtest/lib555.c
  106. +15 −3 tests/libtest/lib556.c
  107. +15 −2 tests/libtest/lib557.c
  108. +14 −2 tests/libtest/lib560.c
  109. +15 −2 tests/libtest/lib562.c
  110. +15 −2 tests/libtest/lib564.c
  111. +15 −2 tests/libtest/lib566.c
  112. +15 −2 tests/libtest/lib567.c
  113. +15 −2 tests/libtest/lib568.c
  114. +15 −2 tests/libtest/lib569.c
  115. +15 −2 tests/libtest/lib570.c
  116. +15 −2 tests/libtest/lib571.c
  117. +16 −3 tests/libtest/lib572.c
  118. +15 −2 tests/libtest/lib573.c
  119. +15 −2 tests/libtest/lib574.c
  120. +15 −2 tests/libtest/lib575.c
  121. +15 −2 tests/libtest/lib576.c
  122. +15 −2 tests/libtest/lib578.c
  123. +15 −2 tests/libtest/lib579.c
  124. +15 −3 tests/libtest/lib582.c
  125. +15 −2 tests/libtest/sethostname.c
  126. +15 −2 tests/libtest/sethostname.h
  127. +15 −2 tests/libtest/test.h
  128. +15 −3 tests/unit/curlcheck.h
  129. +21 −0 tests/unit/unit1300.c
  130. +21 −0 tests/unit/unit1301.c
  131. +21 −0 tests/unit/unit1302.c
  132. +21 −0 tests/unit/unit1303.c
  133. +21 −0 tests/unit/unit1304.c
  134. +15 −3 tests/unit/unit1305.c
  135. +15 −3 tests/unit/unit1307.c
View
@@ -1,3 +1,24 @@
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#ifdef TIME_WITH_SYS_TIME
/* Time with sys/time test */
@@ -1,12 +1,25 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
- * Example application source code using the multi interface to download many
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+/* Example application source code using the multi interface to download many
* files, but with a capped maximum amount of simultaneous transfers.
*
* Written by Michael Wallner
View
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <fcntl.h>
#ifdef WIN32
@@ -1,12 +1,25 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
- * Example using a "in core" PEM certificate to retrieve a https page.
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+/* Example using a "in core" PEM certificate to retrieve a https page.
* Written by Theo Borm
*/
View
@@ -1,6 +1,24 @@
-/*****************************************************************************
- */
-
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <curl/curl.h>
View
@@ -1,12 +1,25 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
- * Example source code to show how the callback function can be used to
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+/* Example source code to show how the callback function can be used to
* download data into a chunk of memory instead of storing it in a file.
* After successful download we use curl_easy_getinfo() calls to get the
* amount of downloaded bytes, the time used for the whole download, and
@@ -1,12 +1,25 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * This example shows usage of simple cookie interface.
- */
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+/* This example shows usage of simple cookie interface. */
#include <stdio.h>
#include <string.h>
View
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <curl/curl.h>
@@ -1,12 +1,25 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
- * Example application source code using the multi socket interface to
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+/* Example application source code using the multi socket interface to
* download many files at once.
*
* This example features the same basic functionality as hiperfifo.c does,
View
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <curl/curl.h>
#include <sys/stat.h>
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <curl/curl.h>
#include <stdio.h>
View
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <curl/curl.h>
View
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <string.h>
View
@@ -1,12 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * 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
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include <stdio.h>
#include <curl/curl.h>
Oops, something went wrong.

0 comments on commit 1aeb635

Please sign in to comment.