TFTPc_SetDfltCfg

Set default TFTPc Configuration.

Files

tftp-c.h/tftp-c.c

Prototype

          CPU_BOOLEAN  TFTPc_SetDfltCfg (const TFTPc_CFG  *p_cfg,
                                               TFTPc_ERR  *p_err);

Arguments

p_cfg

Pointer to TFTPc Configuration to use as default.

p_err

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

TFTPc_ERR_NONE
TFTPc_ERR_NULL_PTR
...

Returned Values

DEF_OK,     if configuration set up was successful.
DEF_FAIL, otherwise.

Required Configuration

None.

Notes / Warnings

None.