etc.c.curl is missing "convenient" aliases

- those are used in all examples as if they
  were "real" options, so make them part of
  CurlOption enum
This commit is contained in:
Martin Nowak 2014-12-12 13:26:27 +01:00
parent 6283521f12
commit c67d20c581

View file

@ -1250,7 +1250,12 @@ enum CurlOption {
/** Set authentication type for authenticated TLS */ /** Set authentication type for authenticated TLS */
tlsauth_type, tlsauth_type,
/** the last unused */ /** the last unused */
lastentry lastentry,
writedata = file, /// convenient alias
readdata = infile, /// ditto
headerdata = writeheader, /// ditto
rtspheader = httpheader, /// ditto
} }
/// ///
alias int CURLoption; alias int CURLoption;