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

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

static void query (const char *sql)
 
static void test (const char *type, const char *test_name)
 
int main (int argc, char **argv)
 

Variables

static TDSSOCKETtds
 
static const char english [] = "English"
 
static const char spanish [] = "Espa&#241;ol"
 
static const char french [] = "Fran&#231;ais"
 
static const char portuguese [] = "Portugu&#234;s"
 
static const char russian [] = "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;"
 
static const char arabic [] = "&#x0627;&#x0644;&#x0639;&#x0631;&#x0628;&#x064a;&#x0629;"
 
static const char chinese [] = "&#x7b80;&#x4f53;&#x4e2d;&#x6587;"
 
static const char japanese [] = "&#26085;&#26412;&#35486;"
 
static const char hebrew [] = "&#x05e2;&#x05d1;&#x05e8;&#x05d9;&#x05ea;"
 
static const char * strings []
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ query()

static void query ( const char *  sql)
static

Definition at line 57 of file utf8_1.c.

References exit(), run_query(), sql, tds, and TDS_SUCCESS.

Referenced by test().

◆ test()

static void test ( const char *  type,
const char *  test_name 
)
static

Variable Documentation

◆ arabic

const char arabic[] = "&#x0627;&#x0644;&#x0639;&#x0631;&#x0628;&#x064a;&#x0629;"
static

Definition at line 34 of file utf8_1.c.

◆ chinese

const char chinese[] = "&#x7b80;&#x4f53;&#x4e2d;&#x6587;"
static

Definition at line 35 of file utf8_1.c.

◆ english

const char english[] = "English"
static

Definition at line 29 of file utf8_1.c.

◆ french

const char french[] = "Fran&#231;ais"
static

Definition at line 31 of file utf8_1.c.

◆ hebrew

const char hebrew[] = "&#x05e2;&#x05d1;&#x05e8;&#x05d9;&#x05ea;"
static

Definition at line 37 of file utf8_1.c.

◆ japanese

const char japanese[] = "&#26085;&#26412;&#35486;"
static

Definition at line 36 of file utf8_1.c.

Referenced by main().

◆ portuguese

const char portuguese[] = "Portugu&#234;s"
static

Definition at line 32 of file utf8_1.c.

◆ russian

const char russian[] = "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;"
static

Definition at line 33 of file utf8_1.c.

◆ spanish

const char spanish[] = "Espa&#241;ol"
static

Definition at line 30 of file utf8_1.c.

◆ strings

const char* strings[]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
}
static const char chinese[]
Definition: utf8_1.c:35
static const char french[]
Definition: utf8_1.c:31
static const char arabic[]
Definition: utf8_1.c:34
static const char portuguese[]
Definition: utf8_1.c:32
static const char spanish[]
Definition: utf8_1.c:30
static const char english[]
Definition: utf8_1.c:29
static const char hebrew[]
Definition: utf8_1.c:37
static const char japanese[]
Definition: utf8_1.c:36
static const char russian[]
Definition: utf8_1.c:33
#define NULL
Definition: ncbistd.hpp:225

Definition at line 39 of file utf8_1.c.

Referenced by main(), and test().

◆ tds

TDSSOCKET* tds
static

Definition at line 26 of file utf8_1.c.

Referenced by main(), query(), and test().

Modified on Fri Sep 20 14:57:37 2024 by modify_doxy.py rev. 669887