Embedded TCP/IP stack: fnet_tftp_srv_complete_handler_t

FNET

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.
See also
fnet_tftp_srv_init(), fnet_tftp_srv_params

Definition at line 167 of file fnet_tftp_srv.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net