8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 19:23:02 +01:00
firebird-mirror/src/gpre/pat.h

102 lines
2.4 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: Language Preprocessor
* MODULE: pat.h
* DESCRIPTION: Code generator pattern generator
*
* 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): ______________________________________.
*/
2003-10-05 08:56:48 +02:00
#ifndef GPRE_PAT_H
#define GPRE_PAT_H
2001-05-23 15:26:42 +02:00
2008-12-05 01:56:15 +01:00
/*
Substitution codes:
2001-05-23 15:26:42 +02:00
RH Request handle
RL Request level
DH Database handle
DF Database filename
TH Transaction handle
BH Blob handle
BI Blob ident
FH Form handle
V1 Start vector (1)
V2 Start vector (2)
I1 Identifier 1
I2 Identifier 2
RF Pass by ref modifier
S1 Arbitrary string
S2 Arbitrary string
S3 Arbitrary string
S4 Arbitrary string
S5 Arbitrary string
S6 Arbitrary string
S7 Arbitrary string
N1 Arbitrary number (signed SSHORT)
N2 Arbitrary number (signed SSHORT)
N3 Arbitrary number (signed SSHORT)
N4 Arbitrary number (signed SSHORT)
L1 Arbitrary number (signed SLONG)
L2 Arbitrary number (signed SLONG)
PN Port message number
PL Port length
PI Port ident
QN Second port message number
QL Second port length
QI Second port ident
*/
2001-07-12 07:46:06 +02:00
struct pat {
const dbb* pat_database;
const gpre_req* pat_request;
//gpre_tra* pat_transaction; CVC: unused
const blb* pat_blob;
const gpre_port* pat_port;
const gpre_port* pat_port2;
2003-10-05 08:56:48 +02:00
const TEXT* pat_string1;
const TEXT* pat_string2;
const TEXT* pat_string3;
const TEXT* pat_string4;
const TEXT* pat_string5;
const TEXT* pat_string6;
const TEXT* pat_string7;
2001-05-23 15:26:42 +02:00
USHORT pat_ident1;
USHORT pat_ident2;
2003-10-05 08:56:48 +02:00
const TEXT* pat_vector1;
const TEXT* pat_vector2;
2001-05-23 15:26:42 +02:00
int pat_value1;
int pat_value2;
int pat_value3;
int pat_value4;
SLONG pat_long1;
SLONG pat_long2;
2003-09-11 04:13:46 +02:00
bool pat_condition;
const ref* pat_reference;
2001-07-12 07:46:06 +02:00
};
typedef pat PAT;
2001-05-23 15:26:42 +02:00
2003-10-15 00:22:32 +02:00
#endif // GPRE_PAT_H
2003-10-05 08:56:48 +02:00