|
|
| version 1.39, 2004/03/05 10:01:50 | version 1.40, 2004/05/25 07:05:52 |
|---|---|
| Line 128 public: | Line 128 public: |
| /// initialize driver by loading sql dynamic link library | /// initialize driver by loading sql dynamic link library |
| virtual const char* initialize(char *dlopen_file_spec) =0; | virtual const char* initialize(char *dlopen_file_spec) =0; |
| /** connect to sql database using | /** connect to sql database using |
| @param used_only_to_connect_url | @param url_cstr |
| format is driver specific | format is driver specific |
| WARNING: must be used only to connect, for buffer doesn't live long enough | |
| @returns true+'connection' on success. 'error' on failure | @returns true+'connection' on success. 'error' on failure |
| */ | */ |
| virtual void connect(char *used_only_in_connect_url_cstr, | virtual void connect(char *url_cstr, |
| SQL_Driver_services& services, void **connection) =0; | SQL_Driver_services& services, void **connection) =0; |
| virtual void disconnect(void *connection) =0; | virtual void disconnect(void *connection) =0; |
| virtual void commit(void *connection) =0; | virtual void commit(void *connection) =0; |