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

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

static void test0 (const char *type,...)
 
static void test (const char *type, const char *value, const char *result)
 
static void exec_query (const char *query)
 
int main (int argc, char **argv)
 

Variables

static int g_result = 0
 
static TDSLOGINlogin
 
static TDSSOCKETtds
 

Function Documentation

◆ exec_query()

static void exec_query ( const char *  query)
static

Definition at line 43 of file dataread.c.

References exit(), query, tds, tds_process_simple_query, tds_submit_query, and TDS_SUCCESS.

Referenced by test0().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ test()

static void test ( const char *  type,
const char *  value,
const char *  result 
)
static

Definition at line 37 of file dataread.c.

References NULL, result, test0(), and rapidjson::value.

Referenced by main().

◆ test0()

static void test0 ( const char *  type,
  ... 
)
static

Variable Documentation

◆ g_result

int g_result = 0
static

Definition at line 30 of file dataread.c.

Referenced by main(), and test0().

◆ login

TDSLOGIN* login
static

◆ tds

TDSSOCKET* tds
static

Definition at line 32 of file dataread.c.

Referenced by exec_query(), main(), and test0().

Modified on Wed Jun 19 17:01:38 2024 by modify_doxy.py rev. 669887