curl.h: reverse the enum/define setup for old symbols
authorDaniel Stenberg <daniel@haxx.se>
Tue, 17 Jun 2014 08:02:41 +0000 (10:02 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 17 Jun 2014 08:02:41 +0000 (10:02 +0200)
commit5fcef972b289bdc7f3dbd7a55a5ada0460b74b2d
tree543f52de8d8c8ab74d65641f0339bb2db8723b31
parent89a2178bc9958bb7bc676819ec0d4311aa6ab9cd
curl.h: reverse the enum/define setup for old symbols

We now provide the "real" names in the CINIT() macro setup for CURLOPT_*
symbols, and we provide backwards compatibility defines for the old
symbols as defines instead of vice versa.

This allows us to better use the CINIT() list to check for existing and
current option names.
include/curl/curl.h
include/curl/typecheck-gcc.h