diff --git a/qse/include/qse/http/httpd.h b/qse/include/qse/http/httpd.h index 20d2b6af..df62dd5f 100644 --- a/qse/include/qse/http/httpd.h +++ b/qse/include/qse/http/httpd.h @@ -1359,6 +1359,20 @@ QSE_EXPORT qse_httpd_mod_t* qse_httpd_findmod ( const qse_char_t* name ); + +/* -------------------------------------------- */ + +QSE_EXPORT int qse_httpd_inserttimerevent ( + qse_httpd_t* httpd, + const qse_tmr_event_t* event, + qse_tmr_index_t* index +); + +QSE_EXPORT void qse_httpd_removetimerevent ( + qse_httpd_t* httpd, + qse_tmr_index_t index +); + #ifdef __cplusplus } #endif diff --git a/qse/lib/http/httpd-std.c b/qse/lib/http/httpd-std.c index 51f5a43c..9d836762 100644 --- a/qse/lib/http/httpd-std.c +++ b/qse/lib/http/httpd-std.c @@ -1503,6 +1503,7 @@ static void dispatch_muxcb (qse_mux_t* mux, const qse_mux_evt_t* evt) if (evt->mask & QSE_MUX_OUT) mask |= QSE_HTTPD_MUX_WRITE; xtn->cbfun (xtn->httpd, mux, handle, mask, evt->data); + /* ignore return code of xtn->cbfun */ } static void* mux_open (qse_httpd_t* httpd, qse_httpd_muxcb_t cbfun) diff --git a/qse/lib/http/httpd.h b/qse/lib/http/httpd.h index e4916e54..d5218e2b 100644 --- a/qse/lib/http/httpd.h +++ b/qse/lib/http/httpd.h @@ -177,17 +177,6 @@ int qse_httpd_inactivatetasktrigger ( qse_httpd_task_t* task ); -int qse_httpd_inserttimerevent ( - qse_httpd_t* httpd, - const qse_tmr_event_t* event, - qse_tmr_index_t* index -); - -void qse_httpd_removetimerevent ( - qse_httpd_t* httpd, - qse_tmr_index_t index -); - #ifdef __cplusplus } #endif