_GaimXfer Struct Reference

A core representation of a file transfer. More...

#include <ft.h>

Collaboration diagram for _GaimXfer:

Collaboration graph
[legend]

Data Fields

guint ref
 The reference count.
GaimXferType type
 The type of transfer.
GaimAccount * account
 The account.
char * who
 The person on the other end of the transfer.
char * message
 A message sent with the request.
char * filename
 The name sent over the network.
char * local_filename
 The name on the local hard drive.
size_t size
 The size of the file.
FILE * dest_fp
 The destination file pointer.
char * remote_ip
 The remote IP address.
int local_port
 The local port.
int remote_port
 The remote port.
int fd
 The socket file descriptor.
int watcher
 Watcher.
size_t bytes_sent
 The number of bytes sent.
size_t bytes_remaining
 The number of bytes remaining.
GaimXferStatusType status
 File Transfer's status.
struct {
   void(*   init )(GaimXfer *xfer)
   void(*   request_denied )(GaimXfer *xfer)
   void(*   start )(GaimXfer *xfer)
   void(*   end )(GaimXfer *xfer)
   void(*   cancel_send )(GaimXfer *xfer)
   void(*   cancel_recv )(GaimXfer *xfer)
   ssize_t(*   read )(char **buffer, GaimXfer *xfer)
   ssize_t(*   write )(const char *buffer, size_t size, GaimXfer *xfer)
   void(*   ack )(GaimXfer *xfer, const char *buffer, size_t size)
ops
GaimXferUiOpsui_ops
 UI-specific operations.
void * ui_data
 UI-specific data.
void * data
 prpl-specific data.

Detailed Description

A core representation of a file transfer.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 18 08:38:44 2007 for gaim by  doxygen 1.5.1