/[pkg-firebird]/upstream/current/src/jrd/sdl.h
ViewVC logotype

Contents of /upstream/current/src/jrd/sdl.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1141 - (show annotations) (download)
Sun Apr 1 15:48:28 2007 UTC (6 years, 1 month ago) by dmn
File MIME type: text/plain
File size: 1585 byte(s)
Import current upstream CVS
1 /*
2 * PROGRAM: JRD Access Method
3 * MODULE: sdl.h
4 * DESCRIPTION: Interface definitions for array handler
5 *
6 * The contents of this file are subject to the Interbase Public
7 * License Version 1.0 (the "License"); you may not use this file
8 * except in compliance with the License. You may obtain a copy
9 * of the License at http://www.Inprise.com/IPL.html
10 *
11 * Software distributed under the License is distributed on an
12 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
13 * or implied. See the License for the specific language governing
14 * rights and limitations under the License.
15 *
16 * The Original Code was created by Inprise Corporation
17 * and its predecessors. Portions created by Inprise Corporation are
18 * Copyright (C) Inprise Corporation.
19 *
20 * All Rights Reserved.
21 * Contributor(s): ______________________________________.
22 */
23
24 #ifndef JRD_SDL_H
25 #define JRD_SDL_H
26
27 #include "../common/classes/MetaName.h"
28
29 struct sdl_info {
30 USHORT sdl_info_fid;
31 USHORT sdl_info_rid;
32 Firebird::MetaName sdl_info_field;
33 Firebird::MetaName sdl_info_relation;
34 dsc sdl_info_element;
35 USHORT sdl_info_dimensions;
36 SLONG sdl_info_lower[MAX_ARRAY_DIMENSIONS];
37 SLONG sdl_info_upper[MAX_ARRAY_DIMENSIONS];
38 };
39
40
41 struct array_slice {
42 enum slice_dir_t { slc_reading_array, slc_writing_array };
43 DSC slice_desc;
44 const BLOB_PTR* slice_end;
45 const BLOB_PTR* slice_high_water;
46 BLOB_PTR* slice_base;
47 USHORT slice_element_length;
48 slice_dir_t slice_direction;
49 SLONG slice_count;
50 };
51
52 typedef void (*SDL_walk_callback)(array_slice*, ULONG, dsc*);
53 #endif /* JRD_SDL_H */
54

  ViewVC Help
Powered by ViewVC 1.1.5