8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 18:03:04 +01:00
firebird-mirror/src/jrd/sdl.h
robocop 9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00

51 lines
1.4 KiB
C

/*
* 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): ______________________________________.
*/
#ifndef JRD_SDL_H
#define JRD_SDL_H
typedef struct sdl_info {
USHORT sdl_info_fid;
USHORT sdl_info_rid;
TEXT sdl_info_field[32];
TEXT sdl_info_relation[32];
DSC sdl_info_element;
USHORT sdl_info_dimensions;
SLONG sdl_info_lower[16];
SLONG sdl_info_upper[16];
} *SDL_INFO;
typedef struct slice {
DSC slice_desc;
const BLOB_PTR* slice_end;
const BLOB_PTR* slice_high_water;
BLOB_PTR* slice_base;
USHORT slice_element_length;
USHORT slice_direction;
SLONG slice_count;
} *SLICE;
typedef void (*SDL_walk_callback)(SLICE, ULONG, DSC*);
#endif /* JRD_SDL_H */