forked from tada/pljava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTriggerData.h
More file actions
40 lines (33 loc) · 1.02 KB
/
Copy pathTriggerData.h
File metadata and controls
40 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden
* Distributed under the terms shown in the file COPYRIGHT
* found in the root folder of this project or at
* http://eng.tada.se/osprojects/COPYRIGHT.html
*
* @author Thomas Hallgren
*/
#ifndef __pljava_TriggerData_h
#define __pljava_TriggerData_h
#include "pljava/type/Type.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <commands/trigger.h>
/**********************************************************************
* The TriggerData java class extends the NativeStruct and provides JNI
* access to some of the attributes of the TriggerData structure.
*
* @author Thomas Hallgren
**********************************************************************/
/*
* Create the org.postgresql.pljava.TriggerData object.
*/
extern jobject TriggerData_create(TriggerData* triggerData);
/*
* Obtains the returned Tuple after trigger has been processed.
*/
extern HeapTuple TriggerData_getTriggerReturnTuple(jobject jtd, bool* wasNull);
#ifdef __cplusplus
}
#endif
#endif