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
|