mwFileTransferHandler(3)

NAME
mwFileTransferHandler -

SYNOPSIS

#include <mw_srvc_ft.h>

  Data Fields
void(* clear )(struct mwServiceFileTransfer *srvc)
optional.
void(* ft_ack )(struct mwFileTransfer *ft)
received an ack for a sent chunk on an outbound file transfer.
void(* ft_closed )(struct mwFileTransfer *ft, guint32 code)
a file transfer has been closed.
void(* ft_offered )(struct mwFileTransfer *ft)
an incoming file transfer has been offered
void(* ft_opened )(struct mwFileTransfer *ft)
a file transfer has been fully initiated
void(* ft_recv )(struct mwFileTransfer *ft, struct mwOpaque *data)
receive a chunk of a file from an inbound file transfer.

Field Documentation

  void(* mwFileTransferHandler::clear)(struct mwServiceFileTransfer *srvc)

optional.

called from mwService_free

  void(* mwFileTransferHandler::ft_ack)(struct mwFileTransfer *ft)

received an ack for a sent chunk on an outbound file transfer.

this indicates that a previous call to mwFileTransfer_send has reached the target and that the target has responded.

  void(* mwFileTransferHandler::ft_closed)(struct mwFileTransfer *ft, guint32 code)

a file transfer has been closed.

Check the status of the file transfer to determine if the transfer was complete or if it had been interrupted

  void(* mwFileTransferHandler::ft_offered)(struct mwFileTransfer *ft)

an incoming file transfer has been offered

  void(* mwFileTransferHandler::ft_opened)(struct mwFileTransfer *ft)

a file transfer has been fully initiated

  void(* mwFileTransferHandler::ft_recv)(struct mwFileTransfer *ft, struct mwOpaque *data)

receive a chunk of a file from an inbound file transfer.

Author

Generated automatically by Doxygen for meanwhile from the source code.