forked from tada/pljava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVarlenaWrapper.h
More file actions
36 lines (28 loc) · 872 Bytes
/
Copy pathVarlenaWrapper.h
File metadata and controls
36 lines (28 loc) · 872 Bytes
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
/*
* Copyright (c) 2018 Tada AB and other contributors, as listed below.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the The BSD 3-Clause License
* which accompanies this distribution, and is available at
* http://opensource.org/licenses/BSD-3-Clause
*
* Contributors:
* Chapman Flack
*/
#ifndef __pljava_VarlenaWrapper_h
#define __pljava_VarlenaWrapper_h
#include <postgres.h>
#include <utils/resowner.h>
#include "pljava/pljava.h"
#ifdef __cplusplus
extern "C" {
#endif
extern jobject pljava_VarlenaWrapper_Input(
Datum d, MemoryContext mc, ResourceOwner ro);
extern jobject pljava_VarlenaWrapper_Output(MemoryContext mc, ResourceOwner ro);
extern Datum pljava_VarlenaWrapper_adopt(jobject vlos);
extern void pljava_VarlenaWrapper_initialize(void);
#ifdef __cplusplus
}
#endif
#endif