I just define a function as below and export it to python by using boost.python.
I have a doubt what is the corresponding type of [File* local_conf] in python.
size_t curl_conf(const char* conf_url,FILE *local_conf)
{
return 0;
}
BOOST_PYTHON_MODULE(curl_conf)
{
using namespace boost::python;
def("curl_conf",curl_conf,"get conf");
}