httpc_register_cb


Use this function to register callback functions.

Note: You must register the callback functions before starting a request.

Format

t_httpc_ret httpc_register_cb ( const t_httpc_cb_dsc * const p_cb_dsc )

Arguments

Name Description Type
p_cb_dsc A pointer to the callback functions descriptor. t_httpc_cb_dsc *

Return Values

Code Description
HTTPC_SUCCESS Successful execution.
HTTPC_ERROR Operation failed.