|
|
@@ -7,14 +7,14 @@ extern "C" |
|
|
|
|
|
|
|
int MHD_get_fdset2( |
|
|
|
struct MHD_Daemon *daemon, |
|
|
|
::cppcore::fdset * read_::cppcore::fdset, |
|
|
|
::cppcore::fdset * write_::cppcore::fdset, |
|
|
|
::cppcore::fdset * except_::cppcore::fdset, |
|
|
|
fd_set * read_fdset, |
|
|
|
fd_set * write_fdset, |
|
|
|
fd_set * except_fdset, |
|
|
|
int * max_fd, |
|
|
|
unsigned int ::cppcore::fdsetsize) |
|
|
|
unsigned int fdsetsize) |
|
|
|
{ |
|
|
|
return libmicrohttpd_mock::instance |
|
|
|
? libmicrohttpd_mock::instance->MHD_get_fdset2(daemon, read_::cppcore::fdset, write_::cppcore::fdset, except_::cppcore::fdset, max_fd, ::cppcore::fdsetsize) |
|
|
|
? libmicrohttpd_mock::instance->MHD_get_fdset2(daemon, read_fdset, write_fdset, except_fdset, max_fd, fdsetsize) |
|
|
|
: MHD_NO; |
|
|
|
} |
|
|
|
|
|
|
@@ -29,12 +29,12 @@ extern "C" |
|
|
|
|
|
|
|
int MHD_run_from_select ( |
|
|
|
struct MHD_Daemon * daemon, |
|
|
|
const ::cppcore::fdset * read_::cppcore::fdset, |
|
|
|
const ::cppcore::fdset * write_::cppcore::fdset, |
|
|
|
const ::cppcore::fdset * except_::cppcore::fdset) |
|
|
|
const fd_set * read_fdset, |
|
|
|
const fd_set * write_fdset, |
|
|
|
const fd_set * except_fdset) |
|
|
|
{ |
|
|
|
return libmicrohttpd_mock::instance |
|
|
|
? libmicrohttpd_mock::instance->MHD_run_from_select(daemon, read_::cppcore::fdset, write_::cppcore::fdset, except_::cppcore::fdset) |
|
|
|
? libmicrohttpd_mock::instance->MHD_run_from_select(daemon, read_fdset, write_fdset, except_fdset) |
|
|
|
: MHD_NO; |
|
|
|
} |
|
|
|
|
|
|
|