8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 06:43:04 +01:00
firebird-mirror/src/jrd/sdl.h

53 lines
1.4 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: JRD Access Method
* MODULE: sdl.h
* DESCRIPTION: Interface definitions for array handler
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
2001-12-24 03:51:06 +01:00
#ifndef JRD_SDL_H
#define JRD_SDL_H
2001-05-23 15:26:42 +02:00
#include "../jrd/constants.h"
struct sdl_info {
USHORT sdl_info_fid;
USHORT sdl_info_rid;
SqlIdentifier sdl_info_field;
SqlIdentifier sdl_info_relation;
dsc sdl_info_element;
USHORT sdl_info_dimensions;
SLONG sdl_info_lower[16];
SLONG sdl_info_upper[16];
};
2001-05-23 15:26:42 +02:00
struct array_slice {
2001-05-23 15:26:42 +02:00
DSC slice_desc;
const BLOB_PTR* slice_end;
const BLOB_PTR* slice_high_water;
BLOB_PTR* slice_base;
2001-05-23 15:26:42 +02:00
USHORT slice_element_length;
USHORT slice_direction;
SLONG slice_count;
};
2001-05-23 15:26:42 +02:00
typedef void (*SDL_walk_callback)(array_slice*, ULONG, dsc*);
2001-12-24 03:51:06 +01:00
#endif /* JRD_SDL_H */