diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-09-02 15:11:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-09-02 15:11:08 +0000 |
commit | 56d9624b566ac15ffb4b4b6eef220a5000b767e0 (patch) | |
tree | 9511f37ced87ba79fe96416b21e41fadffe17224 /lib/tftp.h | |
parent | 911d135deb619f6d18ae3e0150c3808be54831a3 (diff) | |
download | curl-56d9624b566ac15ffb4b4b6eef220a5000b767e0.tar.gz |
John Kelly added TFTP support to libcurl. A bunch of new error codes was
added. TODO: add them to docs. add TFTP server to test suite. add TFTP to
list of protocols whereever those are mentioned.
Diffstat (limited to 'lib/tftp.h')
-rw-r--r-- | lib/tftp.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/tftp.h b/lib/tftp.h new file mode 100644 index 000000000..1120e26a5 --- /dev/null +++ b/lib/tftp.h @@ -0,0 +1,31 @@ +#ifndef __TFTP_H +#define __TFTP_H + +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2005, 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. + * + * $Id$ + ***************************************************************************/ +#ifndef CURL_DISABLE_TFTP +CURLcode Curl_tftp_connect(struct connectdata *conn, bool *done); +CURLcode Curl_tftp(struct connectdata *conn, bool *done); +CURLcode Curl_tftp_done(struct connectdata *conn, CURLcode); +#endif +#endif |