00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef PREPARE_QUERY_h
00021 #define PREPARE_QUERY_h
00022 
00023 #if HAVE_CONFIG_H
00024 #include <config.h>
00025 #endif 
00026 
00027 #if defined(UNIXODBC) || defined(TDS_NO_DM)
00028 #include <sql.h>
00029 #include <sqlext.h>
00030 #else 
00031 #include "isql.h"
00032 #include "isqlext.h"
00033 #endif
00034 
00035 
00036 static const char rcsid_prepare_query_h[] = "$Id: prepare_query.h,v 1.10 2004/10/28 12:42:12 freddy77 Exp $";
00037 static const void *const no_unused_prepare_query_h_warn[] = { rcsid_prepare_query_h, no_unused_prepare_query_h_warn };
00038 
00039 
00040 SQLRETURN prepare_call(struct _hstmt *stmt);
00041 SQLRETURN native_sql(struct _hdbc *dbc, char *s);
00042 int parse_prepared_query(struct _hstmt *stmt, int start, int compute_row);
00043 int start_parse_prepared_query(struct _hstmt *stmt, int compute_row);
00044 int continue_parse_prepared_query(struct _hstmt *stmt, SQLPOINTER DataPtr, SQLLEN StrLen_or_Ind);
00045 
00046 #endif