Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Clears the HTTPc Request Object passed as argument.

Files

http-c.h/http-c.c

Prototype

Code Block

          void  HTTPc_ReqClr (HTTPc_REQ_OBJ  *p_req_obj,
                              HTTPc_ERR      *p_err);


Arguments

p_req_obj

Pointer to the HTTPc Request Object to clear.

p_err

Pointer to variable that will receive the return error code from this function:

HTTPc_ERR_NONE
HTTPc_ERR_NULL_PTR
HTTPc_ERR_INIT_NOT_COMPLETED
HTTPc_ERR_REQ_IS_USED

Returned Values

None.

Required Configuration

None.

Notes / Warnings

  • This function MUST be called after the µC/HTTP-client Suite Initialization has been completed.
  • This function MUST be called before the HTTPc_REQ_OBJ object is used for the first time.