diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-17 16:31:08 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-17 16:31:08 +0000 |
commit | 57fae2076c90be01264435a12a12e133e875614f (patch) | |
tree | 717ad2ae32054b82c2b152be4c853495fe33e06c /include | |
parent | fba0551561031d794fe6a96c18da6701b2091030 (diff) |
Merge anthm's ODBC sanity check fix (bug #3529)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5042 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/res_odbc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asterisk/res_odbc.h b/include/asterisk/res_odbc.h index 4690b537e..66cc5661e 100755 --- a/include/asterisk/res_odbc.h +++ b/include/asterisk/res_odbc.h @@ -45,7 +45,9 @@ odbc_status odbc_obj_connect(odbc_obj *obj); odbc_status odbc_obj_disconnect(odbc_obj *obj); void destroy_obdc_obj(odbc_obj **obj); int register_odbc_obj(char *name,odbc_obj *obj); -odbc_obj *fetch_odbc_obj(const char *name); +odbc_obj *fetch_odbc_obj(const char *name, int check); int odbc_dump_fd(int fd,odbc_obj *obj); - +int odbc_sanity_check(odbc_obj *obj); +int odbc_smart_execute(odbc_obj *obj, SQLHSTMT stmt); +int odbc_smart_direct_execute(odbc_obj *obj, SQLHSTMT stmt, char *sql); #endif |