NCBI C++ ToolKit
Macros | Functions | Variables
string_bind.c File Reference
#include "common.h"
#include <freetds/test_assert.h>
+ Include dependency graph for string_bind.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define row(bind, expected)   test_row(bind, #bind, expected, __LINE__)
 

Functions

static void test_row (int vartype, const char *vartype_name, const char *expected, int line)
 
int main (int argc, char **argv)
 

Variables

static DBPROCESSdbproc = NULL
 
static int bind_len = -1
 
static int expected_error = 0
 
static const char * select_cmd = "select 'foo '"
 

Macro Definition Documentation

◆ row

#define row (   bind,
  expected 
)    test_row(bind, #bind, expected, __LINE__)

Definition at line 73 of file string_bind.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ test_row()

static void test_row ( int  vartype,
const char *  vartype_name,
const char *  expected,
int  line 
)
static

Variable Documentation

◆ bind_len

int bind_len = -1
static

Definition at line 11 of file string_bind.c.

Referenced by CTL_RowResult::CTL_RowResult(), main(), and test_row().

◆ dbproc

DBPROCESS* dbproc = NULL
static

Definition at line 10 of file string_bind.c.

Referenced by main(), and test_row().

◆ expected_error

int expected_error = 0
static

Definition at line 12 of file string_bind.c.

Referenced by err_handler(), main(), and test_row().

◆ select_cmd

const char* select_cmd = "select 'foo '"
static

Definition at line 13 of file string_bind.c.

Referenced by main(), and test_row().

Modified on Fri Sep 20 14:58:12 2024 by modify_doxy.py rev. 669887