NCBI C++ ToolKit
Macros | Functions | Variables
bkpublic.h File Reference
#include <cspublic.h>
+ Include dependency graph for bkpublic.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Macros

#define BLK_IDENTITY   1
 

Functions

CS_RETCODE blk_alloc (CS_CONNECTION *connection, CS_INT version, CS_BLKDESC **blk_pointer)
 
CS_RETCODE blk_bind (CS_BLKDESC *blkdesc, CS_INT colnum, CS_DATAFMT *datafmt, CS_VOID *buffer, CS_INT *datalen, CS_SMALLINT *indicator)
 
CS_RETCODE blk_colval (SRV_PROC *srvproc, CS_BLKDESC *blkdescp, CS_BLK_ROW *rowp, CS_INT colnum, CS_VOID *valuep, CS_INT valuelen, CS_INT *outlenp)
 
CS_RETCODE blk_default (CS_BLKDESC *blkdesc, CS_INT colnum, CS_VOID *buffer, CS_INT buflen, CS_INT *outlen)
 
CS_RETCODE blk_describe (CS_BLKDESC *blkdesc, CS_INT colnum, CS_DATAFMT *datafmt)
 
CS_RETCODE blk_done (CS_BLKDESC *blkdesc, CS_INT type, CS_INT *outrow)
 
CS_RETCODE blk_drop (CS_BLKDESC *blkdesc)
 
CS_RETCODE blk_getrow (SRV_PROC *srvproc, CS_BLKDESC *blkdescp, CS_BLK_ROW *rowp)
 
CS_RETCODE blk_gettext (SRV_PROC *srvproc, CS_BLKDESC *blkdescp, CS_BLK_ROW *rowp, CS_INT bufsize, CS_INT *outlenp)
 
CS_RETCODE blk_init (CS_BLKDESC *blkdesc, CS_INT direction, CS_CHAR *tablename, CS_INT tnamelen)
 
CS_RETCODE blk_props (CS_BLKDESC *blkdesc, CS_INT action, CS_INT property, CS_VOID *buffer, CS_INT buflen, CS_INT *outlen)
 
CS_RETCODE blk_rowalloc (SRV_PROC *srvproc, CS_BLK_ROW **row)
 
CS_RETCODE blk_rowdrop (SRV_PROC *srvproc, CS_BLK_ROW *row)
 
CS_RETCODE blk_rowxfer (CS_BLKDESC *blkdesc)
 
CS_RETCODE blk_rowxfer_mult (CS_BLKDESC *blkdesc, CS_INT *row_count)
 
CS_RETCODE blk_sendrow (CS_BLKDESC *blkdesc, CS_BLK_ROW *row)
 
CS_RETCODE blk_sendtext (CS_BLKDESC *blkdesc, CS_BLK_ROW *row, CS_BYTE *buffer, CS_INT buflen)
 
CS_RETCODE blk_sethints (CS_BLKDESC *blkdesc, CS_CHAR *hints, CS_INT hintslen)
 
CS_RETCODE blk_srvinit (SRV_PROC *srvproc, CS_BLKDESC *blkdescp)
 
CS_RETCODE blk_textxfer (CS_BLKDESC *blkdesc, CS_BYTE *buffer, CS_INT buflen, CS_INT *outlen)
 

Variables

static const char rcsid_bkpublic_h [] = "$Id: bkpublic.h 80690 2017-12-28 19:00:15Z ucko $"
 
static const void *const no_unused_bkpublic_h_warn [] = { rcsid_bkpublic_h, no_unused_bkpublic_h_warn }
 

Macro Definition Documentation

◆ BLK_IDENTITY

#define BLK_IDENTITY   1

Definition at line 38 of file bkpublic.h.

Function Documentation

◆ blk_alloc()

CS_RETCODE blk_alloc ( CS_CONNECTION connection,
CS_INT  version,
CS_BLKDESC **  blk_pointer 
)

◆ blk_bind()

CS_RETCODE blk_bind ( CS_BLKDESC blkdesc,
CS_INT  colnum,
CS_DATAFMT datafmt,
CS_VOID buffer,
CS_INT datalen,
CS_SMALLINT indicator 
)

◆ blk_colval()

CS_RETCODE blk_colval ( SRV_PROC srvproc,
CS_BLKDESC blkdescp,
CS_BLK_ROW rowp,
CS_INT  colnum,
CS_VOID valuep,
CS_INT  valuelen,
CS_INT outlenp 
)

Definition at line 162 of file blk.c.

References CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_default()

CS_RETCODE blk_default ( CS_BLKDESC blkdesc,
CS_INT  colnum,
CS_VOID buffer,
CS_INT  buflen,
CS_INT outlen 
)

Definition at line 174 of file blk.c.

References buffer, CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_describe()

CS_RETCODE blk_describe ( CS_BLKDESC blkdesc,
CS_INT  colnum,
CS_DATAFMT datafmt 
)

◆ blk_done()

CS_RETCODE blk_done ( CS_BLKDESC blkdesc,
CS_INT  type,
CS_INT outrow 
)

◆ blk_drop()

CS_RETCODE blk_drop ( CS_BLKDESC blkdesc)

Definition at line 310 of file blk.c.

References _cs_blkdesc::bcpinfo, CS_SUCCEED, TDS_DBG_FUNC, tds_free_bcpinfo, and tdsdump_log.

Referenced by main(), and CTL_BCPInCmd::~CTL_BCPInCmd().

◆ blk_getrow()

CS_RETCODE blk_getrow ( SRV_PROC srvproc,
CS_BLKDESC blkdescp,
CS_BLK_ROW rowp 
)

Definition at line 321 of file blk.c.

References CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_gettext()

CS_RETCODE blk_gettext ( SRV_PROC srvproc,
CS_BLKDESC blkdescp,
CS_BLK_ROW rowp,
CS_INT  bufsize,
CS_INT outlenp 
)

Definition at line 330 of file blk.c.

References bufsize, CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_init()

CS_RETCODE blk_init ( CS_BLKDESC blkdesc,
CS_INT  direction,
CS_CHAR tablename,
CS_INT  tnamelen 
)

◆ blk_props()

CS_RETCODE blk_props ( CS_BLKDESC blkdesc,
CS_INT  action,
CS_INT  property,
CS_VOID buffer,
CS_INT  buflen,
CS_INT outlen 
)

◆ blk_rowalloc()

CS_RETCODE blk_rowalloc ( SRV_PROC srvproc,
CS_BLK_ROW **  row 
)

Definition at line 424 of file blk.c.

References CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_rowdrop()

CS_RETCODE blk_rowdrop ( SRV_PROC srvproc,
CS_BLK_ROW row 
)

Definition at line 433 of file blk.c.

References CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_rowxfer()

CS_RETCODE blk_rowxfer ( CS_BLKDESC blkdesc)

Definition at line 442 of file blk.c.

References blk_rowxfer_mult(), NULL, TDS_DBG_FUNC, and tdsdump_log.

Referenced by hoge_blkin(), main(), and CTL_BCPInCmd::Send().

◆ blk_rowxfer_mult()

CS_RETCODE blk_rowxfer_mult ( CS_BLKDESC blkdesc,
CS_INT row_count 
)

◆ blk_sendrow()

CS_RETCODE blk_sendrow ( CS_BLKDESC blkdesc,
CS_BLK_ROW row 
)

Definition at line 475 of file blk.c.

References CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_sendtext()

CS_RETCODE blk_sendtext ( CS_BLKDESC blkdesc,
CS_BLK_ROW row,
CS_BYTE buffer,
CS_INT  buflen 
)

Definition at line 485 of file blk.c.

References buffer, CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_sethints()

CS_RETCODE blk_sethints ( CS_BLKDESC blkdesc,
CS_CHAR hints,
CS_INT  hintslen 
)

◆ blk_srvinit()

CS_RETCODE blk_srvinit ( SRV_PROC srvproc,
CS_BLKDESC blkdescp 
)

Definition at line 509 of file blk.c.

References CS_FAIL, TDS_DBG_FUNC, and tdsdump_log.

◆ blk_textxfer()

CS_RETCODE blk_textxfer ( CS_BLKDESC blkdesc,
CS_BYTE buffer,
CS_INT  buflen,
CS_INT outlen 
)

Variable Documentation

◆ no_unused_bkpublic_h_warn

const void* const no_unused_bkpublic_h_warn[] = { rcsid_bkpublic_h, no_unused_bkpublic_h_warn }
static

Definition at line 24 of file bkpublic.h.

◆ rcsid_bkpublic_h

const char rcsid_bkpublic_h[] = "$Id: bkpublic.h 80690 2017-12-28 19:00:15Z ucko $"
static

Definition at line 23 of file bkpublic.h.

Modified on Tue Apr 09 07:56:41 2024 by modify_doxy.py rev. 669887
Modified on Wed Apr 10 07:32:05 2024 by modify_doxy.py rev. 669887
Modified on Thu Apr 11 15:04:17 2024 by modify_doxy.py rev. 669887
Modified on Fri Apr 12 17:16:17 2024 by modify_doxy.py rev. 669887
Modified on Sat Apr 13 11:44:44 2024 by modify_doxy.py rev. 669887
Modified on Sun Apr 14 05:25:29 2024 by modify_doxy.py rev. 669887
Modified on Tue Apr 16 20:08:37 2024 by modify_doxy.py rev. 669887
Modified on Wed Apr 17 13:08:44 2024 by modify_doxy.py rev. 669887