I trust you all take the opportunity to enjoy the fun curl's --libcurl option brings after that security report debacle.
1. run any #curl command line
2. add "--libcurl template.c" to the command line and run it again
3. there, a fine source code embryo to start your libcurl using app from