2002-08-19 18:43:10 +00:00
|
|
|
<title>Core Client: Data Structures</title>
|
2002-08-20 23:54:17 +00:00
|
|
|
<body bgcolor=ffffff>
|
2002-07-29 19:01:38 +00:00
|
|
|
<h2>Core Client: Data Structures</h2>
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
The key data structures in the core client are as follows.
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
Basic types:
|
2002-04-30 22:22:54 +00:00
|
|
|
<pre>
|
|
|
|
PROJECT
|
|
|
|
APP
|
|
|
|
FILE_INFO
|
|
|
|
APP_VERSION
|
|
|
|
IO_FILE_DESC
|
|
|
|
WORKUNIT
|
|
|
|
RESULT
|
2002-08-19 18:43:10 +00:00
|
|
|
</pre>
|
|
|
|
<pre>ACCOUNTS</pre> Contains a vector of PROJECTs, summarizing
|
2002-07-29 19:01:38 +00:00
|
|
|
the accounts file.
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-07-29 19:01:38 +00:00
|
|
|
<pre>CLIENT_STATE</pre>
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
Contains vectors of all the basic types. These are crossed-linked
|
2002-07-29 19:01:38 +00:00
|
|
|
with pointers; for example, APP_VERSION has a pointer to FILE_INFO. Also
|
|
|
|
contains FSM sets for network connections, HTTP operations, file
|
|
|
|
transfers, and active tasks.
|