HTTPc_ConnClr

Clears the HTTPc Connection Object passed as argument.

Files

http-c.h/http-c.c

Prototype

void  HTTPc_ConnClr (HTTPc_CONN_OBJ  *p_conn_obj,
                     HTTPc_ERR       *p_err);


Arguments

p_conn_obj

Pointer to the HTTPc Connection 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_CONN_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_CONN_OBJ object is used for the first time.