Embedded TCP/IP stack  4.7.0

◆ fnet_tftp_srv_complete_handler_t

typedef void(* fnet_tftp_srv_complete_handler_t) (fnet_tftp_request_t request, fnet_return_t status, void *handler_param)

Prototype of the TFTP-server callback function that is called when the TFTP server has completed file data transfer.

Parameters
request_typeRequest type (read or write) defined by fnet_tftp_request_t.
statusFile transfer completion status that equals to:
  • FNET_OK if file transfer was successfull.
  • FNET_ERR if file transfer was failed.
handler_paramUser-application specific parameter. It's set during the TFTP-server service initialization as part of fnet_tftp_srv_params_t.
See also
fnet_tftp_srv_init(), fnet_tftp_srv_params_t

Definition at line 166 of file fnet_tftp_srv.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net