| 1 |
/*
|
| 2 |
* PROGRAM: JRD Access Method
|
| 3 |
* MODULE: blf_proto.h
|
| 4 |
* DESCRIPTION: Prototype header file for blob_filter.cpp
|
| 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_BLF_PROTO_H
|
| 25 |
#define JRD_BLF_PROTO_H
|
| 26 |
|
| 27 |
namespace Jrd {
|
| 28 |
struct bid;
|
| 29 |
}
|
| 30 |
|
| 31 |
// Does this file really need the extern C for external blob filters?
|
| 32 |
extern "C" {
|
| 33 |
|
| 34 |
//class Jrd::BlobControl;
|
| 35 |
|
| 36 |
ISC_STATUS BLF_close_blob(Jrd::thread_db*, Jrd::BlobControl**);
|
| 37 |
ISC_STATUS BLF_create_blob(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::BlobControl**, Jrd::bid*,
|
| 38 |
USHORT, const UCHAR*,
|
| 39 |
Jrd::FPTR_BFILTER_CALLBACK, Jrd::BlobFilter*);
|
| 40 |
ISC_STATUS BLF_get_segment(Jrd::thread_db*, Jrd::BlobControl**, USHORT*, USHORT, UCHAR*);
|
| 41 |
Jrd::BlobFilter* BLF_lookup_internal_filter(Jrd::thread_db*, SSHORT, SSHORT);
|
| 42 |
ISC_STATUS BLF_open_blob(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::BlobControl**, const Jrd::bid*,
|
| 43 |
USHORT, const UCHAR*,
|
| 44 |
Jrd::FPTR_BFILTER_CALLBACK, Jrd::BlobFilter*);
|
| 45 |
ISC_STATUS BLF_put_segment(Jrd::thread_db*, Jrd::BlobControl**, USHORT, const UCHAR*);
|
| 46 |
|
| 47 |
} /* extern "C" */
|
| 48 |
|
| 49 |
#endif /* JRD_BLF_PROTO_H */
|
| 50 |
|