framework/src/st_things/things_stack/things_stack.c
//----------------------------------------------------------------------------------
/**
 * Function definition for register get and post handle request.
 */
Function definition for register get and post handle request.
Function definition for register get and post handle request .
int things_register_handle_request_func(things_handle_request_func_type get_func, things_handle_request_func_type set_func)
{
	THINGS_LOG_D(TAG, THINGS_FUNC_ENTRY);
	if ((NULL == get_func) || (NULL == set_func)) {
		THINGS_LOG_E(TAG, "Callback is NULL");
		return 0;
	}
	register_handle_request_func(get_func, set_func);
	return 1;
}
int things_register_handle_request_func ( things_handle_request_func_type get_func , things_handle_request_func_type set_func ) { THINGS_LOG_D ( TAG , THINGS_FUNC_ENTRY ) ; if ( ( NULL == get_func ) || ( NULL == set_func ) ) { THINGS_LOG_E ( TAG , " " ) ; return 0 ; } register_handle_request_func ( get_func , set_func ) ; return 1 ; }
Function definition for register get and post handle request.
Function definition for register get and post handle request .