NCBI C++ ToolKit
Macros | Functions | Variables
putdata.c File Reference
#include "common.h"
+ Include dependency graph for putdata.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define BYTE_AT(n)   (((n) * 245 + 123) & 0xff)
 

Functions

static int to_sqlwchar (SQLWCHAR *dst, const char *src, int n)
 
int main (int argc, char *argv[])
 

Variables

static const char test_text []
 
static char sql [1024]
 

Macro Definition Documentation

◆ BYTE_AT

#define BYTE_AT (   n)    (((n) * 245 + 123) & 0xff)

Definition at line 8 of file putdata.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ to_sqlwchar()

static int to_sqlwchar ( SQLWCHAR dst,
const char *  src,
int  n 
)
static

Definition at line 11 of file putdata.c.

References i, and n.

Referenced by main().

Variable Documentation

◆ sql

char sql[1024]
static

Definition at line 19 of file putdata.c.

Referenced by add_couple(), BOOST_AUTO_TEST_CASE(), CCursor::CCursor(), check_dbname(), CDbapiSampleApp::CreateConnection(), IConnection::CreateCursor(), CConnection::CreateCursor(), CNCDBIndexFile::CreateDatabase(), CDbapiCursorApp::CreateTable(), CSQLITE_Connection::CreateVacuumStmt(), CSQLITE3_Statement::CSQLITE3_Statement(), CSQLITE_Statement::CSQLITE_Statement(), CBlobStoreBase::Delete(), CNCDBIndexFile::DeleteAllDBFiles(), CNCDBIndexFile::DeleteDBFile(), CDbapiSampleApp::DeleteLostTables(), CDbapiSampleApp::DeleteTable(), CDbapiSimpleApp::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), CDbapiSimpleApp::DemoParamerizedSql(), CSdbapiSimpleApp::DemoParamerizedSql(), CDbapiSimpleApp::DemoSqlInjection(), CSdbapiSimpleApp::DemoSqlInjection(), CDbapiSimpleApp::DemoStaticSql(), CSdbapiSimpleApp::DemoStaticSql(), CStatement::Execute(), execute_sql(), CStatement::ExecuteQuery(), ExecuteSQL(), CSQLITE_Connection::ExecuteSql(), CStatement::ExecuteUpdate(), CBlobStoreBase::Exists(), FetchCanonicalSeqId(), get_coll_md5(), get_encoding_coll(), CSQLITE3_Cache::GetAccessTime(), CNCDBIndexFile::GetAllDBFiles(), CSQLITE3_Cache::GetBlobAccess(), IConnection::GetCursor(), CConnection::GetCursor(), CNCDBIndexFile::GetMaxSyncLogRecNo(), CNCDBIndexFile::GetPurgeData(), CSQLITE3_Cache::GetReadStream(), CSQLITE3_Cache::GetSize(), Init(), impl::CRowInfo_SP_SQL_Server::Initialize(), main(), CNCDBIndexFile::NewDBFile(), CDatabase::NewQuery(), odbc_set_stmt_query(), CCassConnection::Prepare(), ProduceCassandraQueryErrorMessage(), CSQLITE3_Cache::Purge(), query(), CSQLITE3_Cache::Read(), CBlobStoreBase::ReadTableDescr(), CSQLITE3_Cache::Remove(), CDbapiTest::Run(), CSdbapiTest::Run(), CMysqlDemoApp::Run(), CDbCopyApp::Run(), run_command(), CStatement::SendSql(), impl::CConnection::SetDatabaseName(), CNCDBIndexFile::SetMaxSyncLogRecNo(), CCassQuery::SetSQL(), CSQLITE_Statement::SetSql(), CQuery::SetSql(), CQueryImpl::SetSql(), SQLGetTypeInfo(), CSQLITE3_Cache::StoreSynchronous(), Test(), test0(), Test2(), test_err(), test_split(), test_with_dbname(), TestInsert(), TestProc(), TestTable(), CNCDBIndexFile::UpdatePurgeData(), CCassAccVerHistoryTaskFetch::Wait1(), CCassBlobTaskFetchSplitHistory::Wait1(), CCassBlobTaskLoadBlob::Wait1(), CCassNAnnotTaskFetch::Wait1(), CCassStatusHistoryTaskFetch::Wait1(), CCassStatusHistoryTaskGetPublicComment::Wait1(), CSQLITE_Blob::Write(), CLocalTaxon::x_Cache(), CSQLITE_Connection::x_ExecuteSql(), CCassBlobTaskLoadBlob::x_FindID2ChunkID_Query(), CLDS2_Database::x_GetStatement(), CCassBioseqInfoTaskFetch::x_InitializeAliveRecordQuery(), CCassBioseqInfoTaskFetch::x_InitializeQuery(), CCassSI2CSITaskFetch::x_InitializeQuery(), CCassBlobTaskFindChunk::x_IsID2ChunkPacked_Query(), CCassBlobTaskLoadBlob::x_IsID2ChunkPacked_Query(), CTL_Connection::x_LoadTextPtrProcs(), CSQLITE_Statement::x_Prepare(), CStatement::x_Send(), and CSQLITE3_Cache::x_SetTimestamp().

◆ test_text

const char test_text[]
static
Initial value:
=
"Nel mezzo del cammin di nostra vita\n" "mi ritrovai per una selva oscura\n" "che' la diritta via era smarrita."

Definition at line 5 of file putdata.c.

Referenced by main().

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