/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
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>ftp.h</title>
- <style type="text/css">
- .enscript-comment { font-style: italic; color: rgb(178,34,34); }
- .enscript-function-name { font-weight: bold; color: rgb(0,0,255); }
- .enscript-variable-name { font-weight: bold; color: rgb(184,134,11); }
- .enscript-keyword { font-weight: bold; color: rgb(160,32,240); }
- .enscript-reference { font-weight: bold; color: rgb(95,158,160); }
- .enscript-string { font-weight: bold; color: rgb(188,143,143); }
- .enscript-builtin { font-weight: bold; color: rgb(218,112,214); }
- .enscript-type { font-weight: bold; color: rgb(34,139,34); }
- .enscript-highlight { text-decoration: underline; color: 0; }
- </style>
- </head>
- <body id="top">
- <h1 style="margin:8px;" id="f1">ftp.h <span style="font-weight: normal; font-size: 0.5em;">[<a href="?txt">plain text</a>]</span></h1>
- <hr/>
- <div></div>
- <pre>
- #<span class="enscript-reference">ifndef</span> <span class="enscript-variable-name">__FTP_H</span>
- #<span class="enscript-reference">define</span> <span class="enscript-variable-name">__FTP_H</span>
- <span class="enscript-comment">/*****************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
- * \___|\___/|_| \_\_____|
- *
- * Copyright (C) 2000, Daniel Stenberg, <<a href="mailto:daniel@haxx.se">daniel@haxx.se</a>>, et al.
- *
- * In order to be useful for every potential user, curl and libcurl are
- * dual-licensed under the MPL and the MIT/X-derivate licenses.
- *
- * 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 MPL or the MIT/X-derivate
- * licenses. You may pick one of these licenses.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- * $Id: ftp.h,v 1.1.1.2 2001/04/24 18:49:08 wsanchez Exp $
- *****************************************************************************/</span>
- CURLcode <span class="enscript-function-name">Curl_ftp</span>(<span class="enscript-type">struct</span> connectdata *conn);
- CURLcode <span class="enscript-function-name">Curl_ftp_done</span>(<span class="enscript-type">struct</span> connectdata *conn);
- CURLcode <span class="enscript-function-name">Curl_ftp_connect</span>(<span class="enscript-type">struct</span> connectdata *conn);
- CURLcode <span class="enscript-function-name">Curl_ftp_disconnect</span>(<span class="enscript-type">struct</span> connectdata *conn);
- 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, ...);
- <span class="enscript-comment">/* The kerberos stuff needs this: */</span>
- <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,
- <span class="enscript-type">struct</span> connectdata *conn,
- <span class="enscript-type">int</span> *ftpcode);
- #<span class="enscript-reference">endif</span>
- </pre>
- <hr />
- </body></html>