Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

bcp.c File Reference

Implementation of db-lib bulk copy functions. More...

#include <stdio.h>
#include <assert.h>
#include "tds.h"
#include "tdsiconv.h"
#include "tdsconvert.h"
#include "replacements.h"
#include "sybfront.h"
#include "sybdb.h"
#include "syberror.h"
#include "dblib.h"

Compounds

struct  _pbcb

Functions

int tds_do_until_done (TDSSOCKET *tds)
 simple flush function.

RETCODE _bcp_read_hostfile (DBPROCESS *dbproc, FILE *hostfile, FILE *errfile, int *row_error)
 FIX this!

RETCODE _bcp_get_term_var (BYTE *pdata, BYTE *term, int term_len)
 Get the data for bcp-in from program variables, where the program data have been identified as character terminated, This is a low-level, internal function.


Detailed Description

Implementation of db-lib bulk copy functions.


Function Documentation

RETCODE _bcp_get_term_var BYTE *    pdata,
BYTE *    term,
int    term_len
 

Get the data for bcp-in from program variables, where the program data have been identified as character terminated, This is a low-level, internal function.

Call it correctly.


Generated on Tue Jan 13 20:54:53 2004 for FreeTDS API by doxygen1.2.18