FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEodbcInt.cpp File Reference
#include <OMEruntime.h>
#include <stdio.h>
#include <sql.h>
#include <sqlext.h>

Functions

int allocateDatabaseConnection (OMEthread *thread, OMEtype &result)
 
int closeDatabaseConnection (OMEthread *thread, OMEtype &result, OMEtype &id)
 
int listDatabases (OMEthread *thread, OMEtype &result, const OMEtype &id)
 
int connectToDatabase (OMEthread *thread, OMEtype &result, const OMEtype &id, const OMEtype &dsn, const OMEtype &name, const OMEtype &passwd)
 
int prepareStatement (OMEthread *thread, OMEtype &result, const OMEtype &id, const OMEtype &statement, const OMEtype &params)
 
int executeStatement (OMEthread *thread, OMEtype &result, const OMEtype &id)
 
int getResultTable (OMEthread *thread, OMEtype &result, const OMEtype &id)
 
OME_DLL_EXPORT void INIT_DECLARE_OMEodbcInt ()
 

Variables

const int ARG_IGNORED = 0
 

Function Documentation

◆ allocateDatabaseConnection()

int allocateDatabaseConnection ( OMEthread thread,
OMEtype result 
)

◆ closeDatabaseConnection()

int closeDatabaseConnection ( OMEthread thread,
OMEtype result,
OMEtype id 
)

◆ connectToDatabase()

int connectToDatabase ( OMEthread thread,
OMEtype result,
const OMEtype id,
const OMEtype dsn,
const OMEtype name,
const OMEtype passwd 
)

References OME_INT32, OME_STRING, and OMEtype::type.

◆ executeStatement()

int executeStatement ( OMEthread thread,
OMEtype result,
const OMEtype id 
)

◆ getResultTable()

int getResultTable ( OMEthread thread,
OMEtype result,
const OMEtype id 
)

◆ INIT_DECLARE_OMEodbcInt()

OME_DLL_EXPORT void INIT_DECLARE_OMEodbcInt ( )

◆ listDatabases()

int listDatabases ( OMEthread thread,
OMEtype result,
const OMEtype id 
)

◆ prepareStatement()

int prepareStatement ( OMEthread thread,
OMEtype result,
const OMEtype id,
const OMEtype statement,
const OMEtype params 
)

Variable Documentation

◆ ARG_IGNORED

const int ARG_IGNORED = 0
Generated: Fri Jul 31 2020 18:19:15
Support Information