File: constants.xml

package info (click to toggle)
php-doc 20081024-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 57,752 kB
  • ctags: 3,858
  • sloc: xml: 686,554; php: 19,446; perl: 610; cpp: 500; makefile: 336; sh: 114; awk: 28
file content (367 lines) | stat: -rw-r--r-- 11,330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<appendix xml:id="dbplus.constants" xmlns="http://docbook.org/ns/docbook">
 &reftitle.constants;
 &extension.constants;
  <section xml:id="dbplus.errorcodes">
   <title>db++ error codes</title>
   <para>
    <table>
     <title>DB++ Error Codes</title>
     <tgroup cols="3">
      <thead>
       <row>
        <entry>PHP Constant</entry>
        <entry>db++ constant</entry>
        <entry>meaning</entry>
       </row>
      </thead>
      <tbody>
       <row>
       <entry>
        <constant xml:id='constant.dbplus-err-noerr'>DBPLUS_ERR_NOERR</constant>
        (<type>integer</type>)
       </entry>
        <entry>ERR_NOERR</entry>
        <entry>Null error condition</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-duplicate'>DBPLUS_ERR_DUPLICATE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_DUPLICATE</entry>
        <entry>Tried to insert a duplicate tuple</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-eoscan'>DBPLUS_ERR_EOSCAN</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_EOSCAN</entry>
        <entry>End of scan from rget()</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-empty'>DBPLUS_ERR_EMPTY</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_EMPTY</entry>
        <entry>Relation is empty (server)</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-close'>DBPLUS_ERR_CLOSE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_CLOSE</entry>
        <entry>The server can't close</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-wlocked'>DBPLUS_ERR_WLOCKED</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_WLOCKED</entry>
        <entry>The record is write locked</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-locked'>DBPLUS_ERR_LOCKED</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_LOCKED</entry>
        <entry>Relation was already locked</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-nolock'>DBPLUS_ERR_NOLOCK</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_NOLOCK</entry>
        <entry>Relation cannot be locked</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-read'>DBPLUS_ERR_READ</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_READ</entry>
        <entry>Read error on relation</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-write'>DBPLUS_ERR_WRITE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_WRITE</entry>
        <entry>Write error on relation</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-create'>DBPLUS_ERR_CREATE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_CREATE</entry>
        <entry>Create() system call failed</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-lseek'>DBPLUS_ERR_LSEEK</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_LSEEK</entry>
        <entry>Lseek() system call failed</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-length'>DBPLUS_ERR_LENGTH</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_LENGTH</entry>
        <entry>Tuple exceeds maximum length</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-open'>DBPLUS_ERR_OPEN</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_OPEN</entry>
        <entry>Open() system call failed</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-wopen'>DBPLUS_ERR_WOPEN</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_WOPEN</entry>
        <entry>Relation already opened for writing</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-magic'>DBPLUS_ERR_MAGIC</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_MAGIC</entry>
        <entry>File is not a relation</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-version'>DBPLUS_ERR_VERSION</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_VERSION</entry>
        <entry>File is a very old relation</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-pgsize'>DBPLUS_ERR_PGSIZE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_PGSIZE</entry>
        <entry>Relation uses a different page size</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-crc'>DBPLUS_ERR_CRC</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_CRC</entry>
        <entry>Invalid crc in the superpage</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-pipe'>DBPLUS_ERR_PIPE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_PIPE</entry>
        <entry>Piped relation requires lseek()</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-nidx'>DBPLUS_ERR_NIDX</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_NIDX</entry>
        <entry>Too many secondary indices</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-malloc'>DBPLUS_ERR_MALLOC</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_MALLOC</entry>
        <entry>Malloc() call failed</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-nusers'>DBPLUS_ERR_NUSERS</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_NUSERS</entry>
        <entry>Error use of max users</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-preexit'>DBPLUS_ERR_PREEXIT</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_PREEXIT</entry>
        <entry>Caused by invalid usage</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-ontrap'>DBPLUS_ERR_ONTRAP</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_ONTRAP</entry>
        <entry>Caused by a signal</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-preproc'>DBPLUS_ERR_PREPROC</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_PREPROC</entry>
        <entry>Error in the preprocessor</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-dbparse'>DBPLUS_ERR_DBPARSE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_DBPARSE</entry>
        <entry>Error in the parser</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-dbrunerr'>DBPLUS_ERR_DBRUNERR</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_DBRUNERR</entry>
        <entry>Run error in db</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-dbpreexit'>DBPLUS_ERR_DBPREEXIT</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_DBPREEXIT</entry>
        <entry>Exit condition caused by prexit() * procedure</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-wait'>DBPLUS_ERR_WAIT</constant>
          (<type>integer</type>)
        </entry>
        <entry>ERR_WAIT</entry>
        <entry>Wait a little (Simple only)</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-corrupt-tuple'>DBPLUS_ERR_CORRUPT_TUPLE</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_CORRUPT_TUPLE</entry>
        <entry>A client sent a corrupt tuple</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-warning0'>DBPLUS_ERR_WARNING0</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_WARNING0</entry> 
        <entry>
         The Simple routines encountered a non fatal error which was
         corrected
        </entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-panic'>DBPLUS_ERR_PANIC</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_PANIC</entry>
        <entry>
         The server should not really die but after a disaster
         send ERR_PANIC to all its clients
        </entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-fifo'>DBPLUS_ERR_FIFO</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_FIFO</entry>
        <entry>Can't create a fifo</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-perm'>DBPLUS_ERR_PERM</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_PERM</entry>
        <entry>Permission denied</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-tcl'>DBPLUS_ERR_TCL</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_TCL</entry>
        <entry>TCL_error</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-restricted'>DBPLUS_ERR_RESTRICTED</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_RESTRICTED</entry>
        <entry>Only two users</entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-user'>DBPLUS_ERR_USER</constant>
         (<type>integer</type>)
        </entry> 
        <entry>ERR_USER</entry>
        <entry>
         An error in the use of the library by an application
         programmer
        </entry>
       </row>
       <row>
        <entry>
         <constant xml:id='constant.dbplus-err-unknown'>DBPLUS_ERR_UNKNOWN</constant>
         (<type>integer</type>)
        </entry>
        <entry>ERR_UNKNOWN</entry>
        <entry></entry>
       </row>
      </tbody>
     </tgroup>
    </table>
   </para>
  </section>
 </appendix>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->