2
require_once("docutil.php");
3
page_head("Core client: file structure");
6
The core client runs in a <b>BOINC home directory</b>.
7
It creates and uses the following files and directories within the
12
The user's general preferences; see below.
14
<b>client_state.xml</b> describes of the files,
15
application, workunits and results present on this client.
17
<b>Account files</b> describes the participant's account
18
in each subscribed project,
19
including the resource share and project-specific preferences.
20
It contains no host-specific information.
21
The name of the account file is <b>account_PROJECT.xml</b>,
22
where PROJECT is an encoded version of the project's master URL.
24
A directory <b>projects</b>,
25
which contains a <b>project directory</b> for each subscribed project.
26
The name of a project directory is an encoded
27
version of the project's master URL.
28
The project directory contains all files (inputs,
29
outputs, executables) related to the project.
31
<b>slots</b>: this directory contains one subdirectory for each
33
The subdirectories are named 0, 1, ... N-1.
36
Each result executes in particular slot directory.
37
The core client creates 'soft link' files in the slot directory,
38
linking to the corresponding files in the project directory.
40
<h3>Format of account files</h3>
41
The format of an account file is as follows:
44
echo htmlspecialchars("
46
<master_url>http://www.myproject.com/</master_url>
47
<authenticator>3f7b90793a0175ad0bda68684e8bd136</authenticator>
48
[ <project_name>...</project_name> ]
51
<resource_share>1</resource_share>
55
[ <venue>...</venue> ]
56
</project_preferences>
61
The <project_preferences> field is
62
the 'project_prefs' field of the user database record.
64
<h3>Format of prefs.xml</h3>
66
This format of prefs.xml is as follows:
70
<prefs_mod_time>1030128387</prefs_mod_time>
71
<from_project>http://www.myproject.com/</from_project>
72
<from_scheduler>http://server3.myproject.com/cgi-bin/scheduler_cgi</from_scheduler>
73
<mod_time>2</mod_time>
74
<high_water_days>2</high_water_days>
75
<low_water_days>1</low_water_days>
78
XXX this is not complete