_tds_cursor Struct Reference

Search Toolkit Book for _tds_cursor

#include <tds.h>

Collaboration diagram for _tds_cursor:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 1070 of file tds.h.

Public Attributes

_tds_cursornext
 next in linked list, keep first
TDS_INT ref_count
TDS_INT length
 total length of the remaining datastream
TDS_TINYINT cursor_name_len
 length of cursor name > 0 and <= 30
char * cursor_name
 name of the cursor
TDS_INT cursor_id
 cursor id returned by the server after cursor declare
TDS_TINYINT options
 read only|updatable
TDS_TINYINT hasargs
 cursor parameters exists ?
TDS_USMALLINT query_len
 SQL query length.
char * query
 SQL query.
TDS_TINYINT number_upd_cols
 number of updatable columns
TDS_INT cursor_rows
 number of cursor rows to fetch
TDSUPDCOLcur_col_list
 updatable column list
TDS_CURSOR_STATUS status
TDS_SMALLINT srv_status
TDSRESULTINFOres_info
TDS_INT type
TDS_INT concurrency


Member Data Documentation

TDS_INT _tds_cursor::concurrency
 

Definition at line 1091 of file tds.h.

Referenced by ct_cursor(), and tds_cursor_open().

TDSUPDCOL* _tds_cursor::cur_col_list
 

updatable column list

Definition at line 1087 of file tds.h.

TDS_INT _tds_cursor::cursor_id
 

cursor id returned by the server after cursor declare

Definition at line 1077 of file tds.h.

Referenced by ct_cmd_props(), tds_cursor_close(), tds_cursor_dealloc(), tds_cursor_deallocated(), tds_cursor_declare(), tds_cursor_fetch(), tds_cursor_fetch_095(), tds_cursor_open(), tds_cursor_setname(), tds_cursor_setrows(), tds_cursor_update(), tds_free_cursor(), tds_process_cursor_tokens(), tds_process_tokens(), and tds_release_cursor().

char* _tds_cursor::cursor_name
 

name of the cursor

Definition at line 1076 of file tds.h.

Referenced by ct_cmd_props(), ct_send(), tds_cursor_declare(), tds_cursor_fetch(), tds_cursor_fetch_095(), tds_cursor_open(), tds_cursor_setname(), tds_cursor_setrows(), and tds_release_cursor().

TDS_TINYINT _tds_cursor::cursor_name_len
 

length of cursor name > 0 and <= 30

Definition at line 1075 of file tds.h.

TDS_INT _tds_cursor::cursor_rows
 

number of cursor rows to fetch

Definition at line 1084 of file tds.h.

Referenced by _ct_fetch_cursor(), ct_cmd_props(), ct_cursor(), tds_cursor_fetch(), tds_cursor_fetch_095(), and tds_cursor_setrows().

TDS_TINYINT _tds_cursor::hasargs
 

cursor parameters exists ?

Definition at line 1079 of file tds.h.

TDS_INT _tds_cursor::length
 

total length of the remaining datastream

Definition at line 1074 of file tds.h.

struct _tds_cursor* _tds_cursor::next
 

next in linked list, keep first

Definition at line 1072 of file tds.h.

Referenced by tds_alloc_cursor(), tds_cursor_deallocated(), and tds_free_cursor().

TDS_TINYINT _tds_cursor::number_upd_cols
 

number of updatable columns

Definition at line 1083 of file tds.h.

TDS_TINYINT _tds_cursor::options
 

read only|updatable

Definition at line 1078 of file tds.h.

Referenced by ct_cursor().

char* _tds_cursor::query
 

SQL query.

Definition at line 1081 of file tds.h.

Referenced by ct_send(), tds_cursor_declare(), tds_cursor_open(), and tds_release_cursor().

TDS_USMALLINT _tds_cursor::query_len
 

SQL query length.

Definition at line 1080 of file tds.h.

TDS_INT _tds_cursor::ref_count
 

Definition at line 1073 of file tds.h.

Referenced by tds_alloc_cursor(), tds_release_cursor(), and tds_set_cur_cursor().

TDSRESULTINFO* _tds_cursor::res_info
 

Definition at line 1090 of file tds.h.

Referenced by tds5_process_result(), tds7_process_result(), tds_free_cursor(), tds_process_result(), tds_process_tokens(), and tds_release_cursor().

TDS_SMALLINT _tds_cursor::srv_status
 

Definition at line 1089 of file tds.h.

Referenced by ct_cmd_props(), tds_cursor_declare(), tds_cursor_setrows(), tds_process_cursor_tokens(), and tds_process_tokens().

TDS_CURSOR_STATUS _tds_cursor::status
 

Definition at line 1088 of file tds.h.

Referenced by _ct_fetch_cursor(), ct_cursor(), ct_send(), tds_cursor_close(), tds_cursor_dealloc(), and tds_process_tokens().

TDS_INT _tds_cursor::type
 

Definition at line 1091 of file tds.h.

Referenced by ct_cursor(), tds_cursor_fetch(), tds_cursor_fetch_095(), and tds_cursor_open().


The documentation for this struct was generated from the following file:
Generated on Mon Dec 7 09:48:34 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:22:18 2009 by modify_doxy.py rev. 173732