boinc/doc/client_data.html

31 lines
1.1 KiB
HTML

<title>Core Client: Data Structures</title>
<body bgcolor=ffffff>
<h2>Core Client: Data Structures</h2>
<p>
The key data structures in the core client are as follows.
<p>
Basic types:
<pre>PROJECT</pre>
<pre>APP</pre>
<pre>FILE_INFO</pre>
<pre>APP_VERSION</pre>
<pre>IO_FILE_DESC</pre>
<pre>WORKUNIT</pre>
Contains execution information about workunit including
command line arguments, environment variables and required
input files. Also points to the application, app
version and project the workunit is associated with.
<pre>RESULT</pre>
Contains status information about result including
state, total CPU time, deadline, etc. Also points
to the workunit, application and project the result is
associated with.
<pre>PREFS</pre>
Contains a vector of PROJECTs, summarizing the prefs.xml
file. Also contains user preferences.
<pre>CLIENT_STATE</pre>
Contains vectors of all the basic types. These are crossed-linked
with pointers; for example, APP_VERSION has a pointer to FILE_INFO. Also
contains FSM sets for network connections, HTTP operations, file
transfers, persistent file transfers, and active tasks.