Hoel: Constants

Hoel C Database abstraction library with json based language

Macros
Constants

## Macros
#define | HOEL_DB_TYPE_SQLITE 0
#define | HOEL_DB_TYPE_MARIADB 1
#define | HOEL_DB_TYPE_PGSQL 2
#define | HOEL_COL_TYPE_INT 0
#define | HOEL_COL_TYPE_DOUBLE 1
#define | HOEL_COL_TYPE_TEXT 2
#define | HOEL_COL_TYPE_DATE 3
#define | HOEL_COL_TYPE_BLOB 4
#define | HOEL_COL_TYPE_BOOL 5
#define | HOEL_COL_TYPE_NULL 5
#define | H_OK 0 /* No error */
#define | H_ERROR 1 /* Generic error */
#define | H_ERROR_PARAMS 2 /* Error in input parameters */
#define | H_ERROR_CONNECTION 3 /* Error in database connection */
#define | H_ERROR_QUERY 4 /* Error executing query */
#define | H_ERROR_MEMORY 99 /* Error allocating memory */
#define | H_OPTION_NONE 0x0000 /* Nothing whatsoever */
#define | H_OPTION_SELECT 0x0001 /* Execute a SELECT statement */
#define | H_OPTION_EXEC 0x0010 /* Execute an INSERT, UPDATE or DELETE statement */

## Detailed Description

Angharad libraries

## Macro Definition Documentation

## ◆ HOEL_DB_TYPE_SQLITE

#define HOEL_DB_TYPE_SQLITE 0

## ◆ HOEL_DB_TYPE_MARIADB

#define HOEL_DB_TYPE_MARIADB 1

## ◆ HOEL_DB_TYPE_PGSQL

#define HOEL_DB_TYPE_PGSQL 2

## ◆ HOEL_COL_TYPE_INT

#define HOEL_COL_TYPE_INT 0

## ◆ HOEL_COL_TYPE_DOUBLE

#define HOEL_COL_TYPE_DOUBLE 1

## ◆ HOEL_COL_TYPE_TEXT

#define HOEL_COL_TYPE_TEXT 2

## ◆ HOEL_COL_TYPE_DATE

#define HOEL_COL_TYPE_DATE 3

## ◆ HOEL_COL_TYPE_BLOB

#define HOEL_COL_TYPE_BLOB 4

## ◆ HOEL_COL_TYPE_BOOL

#define HOEL_COL_TYPE_BOOL 5

## ◆ HOEL_COL_TYPE_NULL

#define HOEL_COL_TYPE_NULL 5

## ◆ H_OK

#define H_OK 0 /* No error */

## ◆ H_ERROR

#define H_ERROR 1 /* Generic error */

## ◆ H_ERROR_PARAMS

#define H_ERROR_PARAMS 2 /* Error in input parameters */

## ◆ H_ERROR_CONNECTION

#define H_ERROR_CONNECTION 3 /* Error in database connection */

## ◆ H_ERROR_QUERY

#define H_ERROR_QUERY 4 /* Error executing query */

## ◆ H_ERROR_MEMORY

#define H_ERROR_MEMORY 99 /* Error allocating memory */

## ◆ H_OPTION_NONE

#define H_OPTION_NONE 0x0000 /* Nothing whatsoever */

## ◆ H_OPTION_SELECT

#define H_OPTION_SELECT 0x0001 /* Execute a SELECT statement */

## ◆ H_OPTION_EXEC

#define H_OPTION_EXEC 0x0010 /* Execute an INSERT, UPDATE or DELETE statement */