| 21 |
* Boston, MA 02111-1307, USA gnu@gnu.org * |
* Boston, MA 02111-1307, USA gnu@gnu.org * |
| 22 |
\********************************************************************/ |
\********************************************************************/ |
| 23 |
|
|
| 24 |
/* |
/** |
| 25 |
* FUNCTION: |
@file dui-odbc.h |
| 26 |
* Open up connection to the database. (Uses ODBC under the covers). |
@brief Open up connection to the database. (Uses ODBC under the covers). |
| 27 |
* |
@author 2002 Linas Vepstas <linas@linas.org> |
| 28 |
* HISTORY: |
*/ |
|
* Copyright (c) 2002 Linas Vepstas <linas@linas.org> |
|
|
* Created by Linas Vepstas March 2002 |
|
|
*/ |
|
|
|
|
| 29 |
|
|
| 30 |
#ifndef DUI_ODBC_H |
#ifndef DUI_ODBC_H |
| 31 |
#define DUI_ODBC_H |
#define DUI_ODBC_H |
| 32 |
|
|
| 33 |
#include "dui-initdb.h" |
#include "dui-initdb.h" |
| 34 |
|
|
| 35 |
/* Call before using anything else */ |
/** Call before using anything else */ |
| 36 |
void dui_odbc_init(void); |
void dui_odbc_init(void); |
| 37 |
|
|
| 38 |
/** establish new connection to indicated database */ |
/** establish new connection to indicated database */ |
| 58 |
DuiDBRecordSet * dui_odbc_connection_table_columns (DuiDBConnection *, |
DuiDBRecordSet * dui_odbc_connection_table_columns (DuiDBConnection *, |
| 59 |
const gchar * table_name); |
const gchar * table_name); |
| 60 |
|
|
| 61 |
/* release the record set when one is done with it */ |
/** release the record set when one is done with it */ |
| 62 |
void dui_odbc_recordset_release (DuiDBRecordSet *); |
void dui_odbc_recordset_release (DuiDBRecordSet *); |
| 63 |
|
|
| 64 |
/** Prep a row. Basically, this gets the 'next' row out of the database. |
/** Prep a row. Basically, this gets the 'next' row out of the database. |