... #include "asterisk/res_odbc.h" ... int odbc_sanity_check(odbc_obj *obj) { char *test_sql = "select 1"; SQLHSTMT stmt; int res = 0; SQLLEN rowcount = 0;