mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-27 20:03:03 +01:00
49 lines
1.8 KiB
C
49 lines
1.8 KiB
C
|
/*
|
||
|
* PROGRAM: JRD Access Method
|
||
|
* MODULE: sort_proto.h
|
||
|
* DESCRIPTION: Prototype header file for sort.c
|
||
|
*
|
||
|
* 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_SORT_PROTO_H_
|
||
|
#define _JRD_SORT_PROTO_H_
|
||
|
|
||
|
|
||
|
#ifdef SCROLLABLE_CURSORS
|
||
|
extern void SORT_diddle_key(UCHAR *, struct scb *, USHORT);
|
||
|
extern void SORT_get(STATUS *, struct scb *, ULONG **, RSE_GET_MODE);
|
||
|
extern void SORT_read_block(STATUS *, struct sfb *, ULONG, BLOB_PTR *, ULONG);
|
||
|
#else
|
||
|
extern void SORT_get(STATUS *, struct scb *, ULONG **);
|
||
|
extern ULONG SORT_read_block(STATUS *, struct sfb *, ULONG, BLOB_PTR *,
|
||
|
ULONG);
|
||
|
#endif
|
||
|
|
||
|
extern void SORT_error(STATUS *, struct sfb *, TEXT *, STATUS, int);
|
||
|
extern void SORT_fini(struct scb *, struct att *);
|
||
|
extern struct scb *SORT_init(STATUS *, USHORT, USHORT, struct skd *,
|
||
|
BOOLEAN(*)(), void *, struct att *);
|
||
|
extern int SORT_put(STATUS *, struct scb *, ULONG **);
|
||
|
extern void SORT_shutdown(struct att *);
|
||
|
extern int SORT_sort(STATUS *, struct scb *);
|
||
|
extern ULONG SORT_write_block(STATUS *, struct sfb *, ULONG, BLOB_PTR *,
|
||
|
ULONG);
|
||
|
|
||
|
#endif /* _JRD_SORT_PROTO_H_ */
|