export qse_httpd_inserttimerevent() and qse_httpd_removetimerevent()
This commit is contained in:
		| @ -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 | ||||
|  | ||||
| @ -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) | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user