TFTPc_Init
Initialize the TFTPc suite.
Files
tftp-c.h/tftp-c.c
Prototype
CPU_BOOLEAN TFTPc_Init (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
TFTPc_ERR_MEM_ALLOC
TFTPc_ERR_FAULT_INIT
...
Returned Values
DEF_OK
, if initialization was successful.DEF_FAIL
, otherwise.
Required Configuration
None.
Notes / Warnings
None.
Example Usage
See section Getting Started for an example.