cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Macros | Enumerations
odbc.c File Reference
#include <stdio.h>
#include "crypt.h"
#include "keyset/keyset.h"
#include "keyset/dbms.h"

Go to the source code of this file.

Macros

#define sqlStatusOK(status)   ( ( status ) == SQL_SUCCESS || ( status ) == SQL_SUCCESS_WITH_INFO )
 
#define SQL_QUERY_BUFSIZE   ( MAX_SQL_QUERY_SIZE + 64 )
 
#define VALUE_TO_PTR   ( SQLPOINTER )
 

Enumerations

enum  {
  DBMS_NONE, DBMS_ACCESS, DBMS_INTERBASE, DBMS_MYSQL,
  DBMS_POSTGRES
}
 
enum  SQL_ERRLVL_TYPE {
  SQL_ERRLVL_NONE, SQL_ERRLVL_STMT, SQL_ERRLVL_DBC, SQL_ERRLVL_ENV,
  SQL_ERRLVL_LAST
}
 

Macro Definition Documentation

#define SQL_QUERY_BUFSIZE   ( MAX_SQL_QUERY_SIZE + 64 )

Definition at line 39 of file odbc.c.

#define sqlStatusOK (   status)    ( ( status ) == SQL_SUCCESS || ( status ) == SQL_SUCCESS_WITH_INFO )

Definition at line 23 of file odbc.c.

#define VALUE_TO_PTR   ( SQLPOINTER )

Definition at line 50 of file odbc.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
DBMS_NONE 
DBMS_ACCESS 
DBMS_INTERBASE 
DBMS_MYSQL 
DBMS_POSTGRES 

Definition at line 28 of file odbc.c.

Enumerator:
SQL_ERRLVL_NONE 
SQL_ERRLVL_STMT 
SQL_ERRLVL_DBC 
SQL_ERRLVL_ENV 
SQL_ERRLVL_LAST 

Definition at line 33 of file odbc.c.