protocols: use CURLPROTO_ internally
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Mar 2011 21:52:14 +0000 (22:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Mar 2011 21:52:14 +0000 (22:52 +0100)
commit13b64d75589647f8d151e035bd2c5d340a1c37ee
tree9c34a261f8803232da1b93836d2fa7b4e33db4b4
parent8831000bc07de463d277975a3ddfb6a31dcf14b4
protocols: use CURLPROTO_ internally

The PROT_* set of internal defines for the protocols is no longer
used. We now use the same bits internally as we have defined in the
public header using the CURLPROTO_ prefix. This is for simplicity and
because the PROT_* prefix was already used duplicated internally for a
set of KRB4 values.

The PROTOPT_* defines were moved up to just below the struct definition
within which they are used.
18 files changed:
lib/curl_rtmp.c
lib/dict.c
lib/file.c
lib/ftp.c
lib/gopher.c
lib/http.c
lib/imap.c
lib/openldap.c
lib/pop3.c
lib/rtsp.c
lib/sendf.c
lib/smtp.c
lib/ssh.c
lib/telnet.c
lib/tftp.c
lib/transfer.c
lib/url.c
lib/urldata.h