My Project
UDK 3.2.7 C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
store
types.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef _STORE_TYPES_H_
21
#define _STORE_TYPES_H_
22
23
#include <
sal/types.h
>
24
#include <
rtl/ustring.h
>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
33
#define STORE_DEFAULT_PAGESIZE ((sal_uInt16)0x0400)
34
35
39
#define STORE_MINIMUM_PAGESIZE ((sal_uInt16)0x0200)
40
#define STORE_MAXIMUM_PAGESIZE ((sal_uInt16)0x8000)
41
42
47
#define STORE_MAXIMUM_NAMESIZE 256
48
49
53
#define STORE_ATTRIB_ISLINK ((sal_uInt32)0x10000000)
54
#define STORE_ATTRIB_ISDIR ((sal_uInt32)0x20000000)
55
#define STORE_ATTRIB_ISFILE ((sal_uInt32)0x40000000)
56
57
63
enum
__store_AccessMode
64
{
65
store_AccessCreate
,
66
store_AccessReadCreate
,
67
store_AccessReadWrite
,
68
store_AccessReadOnly
,
69
store_Access_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
70
};
71
74
typedef
enum
__store_AccessMode
storeAccessMode
;
75
76
79
enum
__store_Error
80
{
81
store_E_None
= 0,
82
store_E_AccessViolation
,
83
store_E_LockingViolation
,
84
store_E_CantSeek
,
85
store_E_CantRead
,
86
store_E_CantWrite
,
87
store_E_InvalidAccess
,
88
store_E_InvalidHandle
,
89
store_E_InvalidParameter
,
90
store_E_InvalidChecksum
,
91
store_E_AlreadyExists
,
92
store_E_NotExists
,
93
store_E_NotDirectory
,
94
store_E_NotFile
,
95
store_E_NoMoreFiles
,
96
store_E_NameTooLong
,
97
store_E_OutOfMemory
,
98
store_E_OutOfSpace
,
99
store_E_Pending
,
100
store_E_WrongFormat
,
101
store_E_WrongVersion
,
102
store_E_Unknown
,
103
store_E_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
104
};
105
108
typedef
enum
__store_Error
storeError
;
109
110
115
struct
__store_FindData
116
{
120
sal_Unicode
m_pszName
[
STORE_MAXIMUM_NAMESIZE
];
121
125
sal_Int32
m_nLength
;
126
130
sal_uInt32
m_nAttrib
;
131
136
sal_uInt32
m_nSize
;
137
140
sal_uInt32
m_nReserved
;
141
};
142
145
typedef
struct
__store_FindData
storeFindData
;
146
147
148
/*========================================================================
149
*
150
* The End.
151
*
152
*======================================================================*/
153
154
#ifdef __cplusplus
155
}
156
#endif
157
158
#endif
/* _STORE_TYPES_H_ */
159
160
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Fri May 10 2013 12:16:58 for My Project by
1.8.3