Add CURLPROTO_ constants to Hack
commit4eacfeed49b33c65b45794c5ff133ca043bea3b5
authorNeal Poole <neal@fb.com>
Wed, 23 Nov 2016 21:08:34 +0000 (23 13:08 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Wed, 23 Nov 2016 21:20:30 +0000 (23 13:20 -0800)
treed91c2f6147147126a43427c5468b14d692f29025
parent9000c99b4c441773cc9451ee80c84e7ab0812f6c
Add CURLPROTO_ constants to Hack

Summary:
Ran the following command:

  cat hphp/runtime/ext/curl/ext_curl.cpp | grep HHVM_RC | cut -d '(' -f 2  | cut -d ')' -f 1 |  cut -d ',' -f 1 | sort | xargs -n 1 -I {} sh -c 'grep -q {} hphp/hack/hhi/stdlib/builtins_curl.hhi || echo "const int {} = 0;"'

Then used grep to filter

Reviewed By: Orvid

Differential Revision: D4217326

fbshipit-source-id: e09b36b146e9187ac4bf24a84a75944a9cd63bdc
hphp/hack/hhi/stdlib/builtins_curl.hhi