Main Page | Class List | File List | Class Members | File Members | Related Pages

source Struct Reference

#include <gi_transfer_api.h>

List of all members.

Public Attributes

gi_protocolp
chunkchunk
SourceStatus status
char * status_data
char * user
char * hash
off_t size
char * url
void * udata


Detailed Description

Defines contact url, hash, and status information. When actively transferring, the associated chunk will be referenced.


Member Data Documentation

struct chunk* source::chunk
 

chunk using this source

char* source::hash
 

interface protocol hack to include hash type and hash in the same string (both provided by the plugin, but constructed in this form internally)

struct gi_protocol* source::p
 

protocol that controls this source (extracted from the URL family)

off_t source::size
 

total size of the file described by this source

SourceStatus source::status
 

current status family

char* source::status_data
 

current protocol-specific status string

void* source::udata
 

Arbitrary plugin-specific user data

char* source::url
 

protocol-specific contact url that can be used to initiate a transfer of the file described by the parent transfer structure

char* source::user
 

arbitrary user string supplied from the plugin


The documentation for this struct was generated from the following file:
Generated on Sun Aug 22 08:11:14 2004 by doxygen 1.3.7