FILE_REF Struct Reference

Describes a connection between a file and a workunit, result, or application. More...

#include <client_types.h>

Collaboration diagram for FILE_REF:

Collaboration graph
[legend]

List of all members.

Public Member Functions

int parse (MIOFILE &)
int write (MIOFILE &)

Public Attributes

char file_name [256]
 physical name
char open_name [256]
 logical name
bool main_program
FILE_INFOfile_info
bool copy_file
 if true, core client will copy the file instead of linking
bool optional


Detailed Description

Describes a connection between a file and a workunit, result, or application.

In the first two cases, the app will either use open() or fopen() to access the file (in which case "open_name" is the name it will use) or the app will be connected by the given fd (in which case fd is nonzero)


Member Function Documentation

int FILE_REF::parse ( MIOFILE in  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int FILE_REF::write ( MIOFILE out  ) 

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

physical name

logical name

if true, core client will copy the file instead of linking

for output files: app may not generate file; don't treat as error if file is missing.


The documentation for this struct was generated from the following files:

Generated on Mon Oct 6 10:45:05 2008 for BOINC by  doxygen 1.5.6