File: oracle_lo.h

package info (click to toggle)
libopendbx 1.4.6-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,024 kB
  • sloc: sh: 10,899; ansic: 7,284; xml: 1,837; cpp: 1,696; makefile: 316; sed: 16
file content (50 lines) | stat: -rw-r--r-- 817 bytes parent folder | download | duplicates (7)
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
41
42
43
44
45
46
47
48
49
50
/*
 *  OpenDBX - A simple but extensible database abstraction layer
 *  Copyright (C) 2006-2008 Norbert Sendetzky and others
 *
 *  Distributed under the terms of the GNU Library General Public Licence
 * version 2 or (at your option) any later version.
 */



#include "oraclebackend.h"



#ifndef ORACLE_LO_H
#define ORACLE_LO_H



#ifdef HAVE_OCILOBWRITE2



struct oralob
{
	OCILobLocator* lob;
	ub1 rpiece;
	ub1 wpiece;
};



/*
 *  Large object operations
 */

static int oracle_odbx_lo_open( odbx_result_t* result, odbx_lo_t** lo, const char* value );

static int oracle_odbx_lo_close( odbx_lo_t* lo );

static ssize_t oracle_odbx_lo_read( odbx_lo_t* lo, void* buffer, size_t buflen );

static ssize_t oracle_odbx_lo_write( odbx_lo_t* lo, void* buffer, size_t buflen );



#endif // HAVE_OCILOBWRITE2


#endif