export qse_httpd_inserttimerevent() and qse_httpd_removetimerevent()

This commit is contained in:
hyung-hwan 2014-10-31 15:55:58 +00:00
parent 0cd5ed43a8
commit baecb98181
3 changed files with 15 additions and 11 deletions

View File

@ -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

View File

@ -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)

View File

@ -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