Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

_dbconnector Struct Reference
[Database Module]

Data passed from the application to the driver when initiating a connection. More...

#include <dbapi.h>

Collaboration diagram for _dbconnector:

Collaboration graph
[legend]

Data Fields

char * dbtype
 
  • Database driver type string


int(* db_connect_callback )(DBConnector *, DBConnection **)
 Callback function for the application to call to open a connection.

void(* url_to_form )(Form *, char *)
 Load a URL into form fields.

char *(* form_to_url )(Form *)
 Return a URL string from form fields.

Formdb_frm
 Form listing the fields required to connect.

void(* app_error_dialog )(char *, char *)
 Function in the application for the driver to call to deliver error messages to the user.


Detailed Description

Data passed from the application to the driver when initiating a connection.

Contains login data, and a pointer to a callback function in the application that can display an error message from the driver. Most fields in this structure are initialised by the database driver in the registration function.

Definition at line 135 of file dbapi.h.


The documentation for this struct was generated from the following file:
Generated on Sun May 9 19:19:27 2004 for GtkSQL by doxygen1.2.18