NCBI C++ ToolKit
Macros | Functions
prepare_query.c File Reference
#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include <ctype.h>
#include <freetds/odbc.h>
#include <freetds/convert.h>
+ Include dependency graph for prepare_query.c:

Go to the source code of this file.

Go to the SVN repository for this file.


#define TDS_ISSPACE(c)   isspace((unsigned char) (c))


static int prepared_rpc (struct _hstmt *stmt, int compute_row)
int parse_prepared_query (struct _hstmt *stmt, int compute_row)
int start_parse_prepared_query (struct _hstmt *stmt, int compute_row)
static ssize_t odbc_wchar2hex (TDS_CHAR *dest, size_t destlen, const SQLWCHAR *src, size_t srclen)
int continue_parse_prepared_query (struct _hstmt *stmt, SQLPOINTER DataPtr, SQLLEN StrLen_or_Ind)

Macro Definition Documentation


#define TDS_ISSPACE (   c)    isspace((unsigned char) (c))

Definition at line 40 of file prepare_query.c.

Function Documentation

◆ continue_parse_prepared_query()

int continue_parse_prepared_query ( struct _hstmt stmt,
SQLLEN  StrLen_or_Ind 

◆ odbc_wchar2hex()

static ssize_t odbc_wchar2hex ( TDS_CHAR dest,
size_t  destlen,
const SQLWCHAR src,
size_t  srclen 

Definition at line 243 of file prepare_query.c.

References assert, i, TDS_CONVERT_SYNTAX, TDS_DBG_INFO1, and tdsdump_log.

Referenced by continue_parse_prepared_query().

◆ parse_prepared_query()

int parse_prepared_query ( struct _hstmt stmt,
int  compute_row 

◆ prepared_rpc()

static int prepared_rpc ( struct _hstmt stmt,
int  compute_row 

◆ start_parse_prepared_query()

int start_parse_prepared_query ( struct _hstmt stmt,
int  compute_row 
Modified on Thu Feb 29 12:23:21 2024 by rev. 669887