Added per-protocol callback static tables, replacing callback ptr storage

in the connectdata structure by a single handler table ptr.
This commit is contained in:
Patrick Monnerat 2007-10-12 13:36:37 +00:00
parent 2741f97a69
commit 07b6e7363d
19 changed files with 713 additions and 410 deletions

View file

@ -24,8 +24,6 @@
* $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, bool premature);
extern const struct Curl_handler Curl_handler_tftp;
#endif
#endif