PageRenderTime 51ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/opensource.apple.com/source/curl/curl-5/curl/lib/ftp.h

#
C Header | 63 lines | 39 code | 4 blank | 20 comment | 0 complexity | 3a843ac90d8244f6e274855b1c2fcc4f MD5 | raw file
Possible License(s): LGPL-2.0, MPL-2.0, GPL-2.0, ISC, LGPL-2.1, Apache-2.0, MPL-2.0-no-copyleft-exception, BSD-3-Clause, WTFPL, MIT, AGPL-1.0, AGPL-3.0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title>ftp.h</title>
  6. <style type="text/css">
  7. .enscript-comment { font-style: italic; color: rgb(178,34,34); }
  8. .enscript-function-name { font-weight: bold; color: rgb(0,0,255); }
  9. .enscript-variable-name { font-weight: bold; color: rgb(184,134,11); }
  10. .enscript-keyword { font-weight: bold; color: rgb(160,32,240); }
  11. .enscript-reference { font-weight: bold; color: rgb(95,158,160); }
  12. .enscript-string { font-weight: bold; color: rgb(188,143,143); }
  13. .enscript-builtin { font-weight: bold; color: rgb(218,112,214); }
  14. .enscript-type { font-weight: bold; color: rgb(34,139,34); }
  15. .enscript-highlight { text-decoration: underline; color: 0; }
  16. </style>
  17. </head>
  18. <body id="top">
  19. <h1 style="margin:8px;" id="f1">ftp.h&nbsp;&nbsp;&nbsp;<span style="font-weight: normal; font-size: 0.5em;">[<a href="?txt">plain text</a>]</span></h1>
  20. <hr/>
  21. <div></div>
  22. <pre>
  23. #<span class="enscript-reference">ifndef</span> <span class="enscript-variable-name">__FTP_H</span>
  24. #<span class="enscript-reference">define</span> <span class="enscript-variable-name">__FTP_H</span>
  25. <span class="enscript-comment">/*****************************************************************************
  26. * _ _ ____ _
  27. * Project ___| | | | _ \| |
  28. * / __| | | | |_) | |
  29. * | (__| |_| | _ &lt;| |___
  30. * \___|\___/|_| \_\_____|
  31. *
  32. * Copyright (C) 2000, Daniel Stenberg, &lt;<a href="mailto:daniel@haxx.se">daniel@haxx.se</a>&gt;, et al.
  33. *
  34. * In order to be useful for every potential user, curl and libcurl are
  35. * dual-licensed under the MPL and the MIT/X-derivate licenses.
  36. *
  37. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  38. * copies of the Software, and permit persons to whom the Software is
  39. * furnished to do so, under the terms of the MPL or the MIT/X-derivate
  40. * licenses. You may pick one of these licenses.
  41. *
  42. * This software is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY
  43. * KIND, either express or implied.
  44. *
  45. * $Id: ftp.h,v 1.1.1.2 2001/04/24 18:49:08 wsanchez Exp $
  46. *****************************************************************************/</span>
  47. CURLcode <span class="enscript-function-name">Curl_ftp</span>(<span class="enscript-type">struct</span> connectdata *conn);
  48. CURLcode <span class="enscript-function-name">Curl_ftp_done</span>(<span class="enscript-type">struct</span> connectdata *conn);
  49. CURLcode <span class="enscript-function-name">Curl_ftp_connect</span>(<span class="enscript-type">struct</span> connectdata *conn);
  50. CURLcode <span class="enscript-function-name">Curl_ftp_disconnect</span>(<span class="enscript-type">struct</span> connectdata *conn);
  51. size_t <span class="enscript-function-name">Curl_ftpsendf</span>(<span class="enscript-type">int</span> fd, <span class="enscript-type">struct</span> connectdata *, <span class="enscript-type">char</span> *fmt, ...);
  52. <span class="enscript-comment">/* The kerberos stuff needs this: */</span>
  53. <span class="enscript-type">int</span> <span class="enscript-function-name">Curl_GetFTPResponse</span>(<span class="enscript-type">int</span> sockfd, <span class="enscript-type">char</span> *buf,
  54. <span class="enscript-type">struct</span> connectdata *conn,
  55. <span class="enscript-type">int</span> *ftpcode);
  56. #<span class="enscript-reference">endif</span>
  57. </pre>
  58. <hr />
  59. </body></html>