diff options
Diffstat (limited to 'src/sql.h')
-rw-r--r-- | src/sql.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -35,13 +35,13 @@ void sql_register_conn (struct sqlconn *); int sql_connection_exists_p (const char *); struct sqlconn *sql_find_connection (const char *ident); -int sql_init_method (struct access_method *method); -int sql_done_method (struct access_method *method); -void *sql_open (struct access_method *method); - -int sql_run_method (struct access_method *method, void *handle, - const char *cmd); -int sql_get_method (struct access_method *method, void *handle, - unsigned nrow, unsigned ncol); -int sql_free_result (struct access_method *method, void *handle); -int sql_quote (struct access_method *, void *, const char *, char **, size_t *); +int sql_init_dictionary (struct dictionary *dict); +int sql_done_dictionary (struct dictionary *dict); +void *sql_open (struct dictionary *dict); + +int sql_lookup_dictionary (struct dictionary *dict, void *handle, + const char *cmd); +int sql_get_dictionary (struct dictionary *dict, void *handle, + unsigned nrow, unsigned ncol); +int sql_free_result (struct dictionary *dict, void *handle); +int sql_quote (struct dictionary *, void *, const char *, char **, size_t *); |