db-lib
for self-help.
More...Functions | |
RETCODE | dbsetlname (LOGINREC *login, const char *value, int which) |
Set the value of a string in a LOGINREC structure. Called by various macros to populate login. | |
RETCODE | dbsetllong (LOGINREC *login, long value, int which) |
Set an integer value in a LOGINREC structure. Called by various macros to populate login. | |
RETCODE | dbsetlshort (LOGINREC *login, int value, int which) |
Set an integer value in a LOGINREC structure. Called by various macros to populate login. | |
RETCODE | dbsetlbool (LOGINREC *login, int value, int which) |
Set a boolean value in a LOGINREC structure. Called by various macros to populate login. | |
DBPROCESS * | tdsdbopen (LOGINREC *login, char *server, int msdblib) |
Form a connection with the server. | |
DBINT | dbcount (DBPROCESS *dbproc) |
Get count of rows processed. | |
RETCODE | dbrows (DBPROCESS *dbproc) |
Indicate whether a query returned rows. | |
RETCODE | dbcmdrow (DBPROCESS *dbproc) |
See if the current command can return rows. | |
DBBOOL | dbdead (DBPROCESS *dbproc) |
Check if dbproc is an ex-parrot. | |
DBINT | dbcurrow (DBPROCESS *dbproc) |
Get number of the row currently being read. | |
STATUS | dbrowtype (DBPROCESS *dbproc) |
Get returned row's type. | |
int | dbcurcmd (DBPROCESS *dbproc) |
Get number of the row just returned. | |
int | dbtds (DBPROCESS *dbproc) |
Get the TDS version in use for dbproc. | |
DBINT | dblastrow (DBPROCESS *dbproc) |
Get number of the last row in the row buffer. | |
DBINT | dbfirstrow (DBPROCESS *dbproc) |
Get number of the first row in the row buffer. | |
int | dbiordesc (DBPROCESS *dbproc) |
Get file descriptor of the socket used by a DBPROCESS to read data coming from the server. (!). | |
int | dbiowdesc (DBPROCESS *dbproc) |
Get file descriptor of the socket used by a DBPROCESS to write data coming to the server. (!). | |
DBBOOL | dbisavail (DBPROCESS *dbproc) |
See if a DBPROCESS is marked "available". | |
void | dbsetavail (DBPROCESS *dbproc) |
Mark a DBPROCESS as "available". | |
int | _dblib_client_msg (DBPROCESS *dbproc, int dberr, int severity, const char *dberrstr) |
Pass a server-generated error message to the client's installed handler. |
db-lib
for self-help.
|
Pass a server-generated error message to the client's installed handler.
For internal use only.
|
|
See if the current command can return rows.
For internal use only.
|
|
Get count of rows processed.
For internal use only.
|
|
Get number of the row just returned.
For internal use only.
|
|
Get number of the row currently being read.
For internal use only.
|
|
Check if dbproc is an ex-parrot.
For internal use only.
|
|
Get number of the first row in the row buffer.
For internal use only.
|
|
Get file descriptor of the socket used by a
For internal use only.
|
|
Get file descriptor of the socket used by a
For internal use only.
|
|
See if a
For internal use only.
|
|
Get number of the last row in the row buffer.
For internal use only.
|
|
Indicate whether a query returned rows.
For internal use only.
|
|
Get returned row's type.
For internal use only.
|
|
Mark a
For internal use only.
|
|
Set a boolean value in a
For internal use only.
|
|
Set an integer value in a
For internal use only.
|
|
Set the value of a string in a
For internal use only.
|
|
Set an integer value in a
For internal use only.
|
|
Get the TDS version in use for dbproc.
For internal use only.
|
|
Form a connection with the server.
For internal use only.
Called by the
|