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

gi_file_share Struct Reference

#include <gi_share.h>

List of all members.

Public Attributes

Disk
GiPath * root
GiPath * path
GiPath * hpath
char * mime
time_t mtime
off_t size
Object
unsigned int ref
Meta/Supplementary
GiDataset * meta
GiDataset * hash
GiDataset * udata
Deprecated
gi_protocolp


Detailed Description

Structure used to describe a complete shared file. This is used by giFT and plugins internally, and is required for some of the plugin communication. Learn it, use it, love it.


Member Data Documentation

GiDataset* gi_file_share::hash
 

AsciiType -> BinaryHash

GiPath* gi_file_share::hpath
 

Local path after root exclusion

GiDataset* gi_file_share::meta
 

ASCII NUL-terminated meta data

char* gi_file_share::mime
 

Pointer to the mime lookup table in src/mime.c

time_t gi_file_share::mtime
 

Modification time as reported by stat(2)

struct gi_protocol* gi_file_share::p
 

Convenience member to determine which domain the object was created in

GiPath* gi_file_share::path
 

Local path

unsigned int gi_file_share::ref
 

Current mortality count

GiPath* gi_file_share::root
 

Original gift:/sharing/root that caught this file, such as "/data/movies"

off_t gi_file_share::size
 

Size in bytes as reported by stat(2)

GiDataset* gi_file_share::udata
 

Associated user data set


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