|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-2F987147-1435-55F1-B61C-8413C4AD8424" xml:lang="en"><title>Direct |
|
13 File Store Structure</title><shortdesc>Describes the structure of the file used as a Direct File Store.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The general structure of a direct file store, from the point of view of |
|
15 the physical file containing the store, is illustrated below.</p> |
|
16 <fig id="GUID-B9A986BB-322A-5432-BB12-92B1934954B6"> |
|
17 <image href="GUID-D15068B5-D12E-5515-A772-EA3B304EE01E_d0e361003_href.png" placement="inline"/> |
|
18 </fig> |
|
19 <p>The header is the content of the descriptor returned by the <codeph>Des()</codeph> member |
|
20 function of <codeph>TCheckedUid</codeph>; this contains the file store type |
|
21 and checksum; the length of the data is the size of a <codeph>TCheckedUid</codeph> object. |
|
22 Note that <codeph>TCheckedUid</codeph> is not part of the public API.</p> |
|
23 <p>The header is followed by the root stream ID. As the value of a stream |
|
24 ID is also the offset of that stream from the start of the host, this gives |
|
25 the offset of the root stream.</p> |
|
26 <p>The root stream ID is followed by all the streams; the root stream is the |
|
27 last stream.</p> |
|
28 </conbody></concept> |