forked from tada/pljava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSQLInputFromChunk.h
More file actions
33 lines (28 loc) · 879 Bytes
/
Copy pathSQLInputFromChunk.h
File metadata and controls
33 lines (28 loc) · 879 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
/*
* 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_SQLInputFromChunk_h
#define __pljava_SQLInputFromChunk_h
#include "pljava/PgObject.h"
#ifdef __cplusplus
extern "C" {
#endif
/***********************************************************************
* Provides mapping between java.sql.SQLInput and a chunk of memory
* allocated by the backend.
*
* @author Thomas Hallgren
*
***********************************************************************/
jobject SQLInputFromChunk_create(void* data, size_t dataSize,
bool isJavaBasedScalar);
void SQLInputFromChunk_close(jobject input);
#ifdef __cplusplus
} /* end of extern "C" declaration */
#endif
#endif