Mapper
Classes | Macros | Functions | Variables
db.c File Reference
#include <sqlhdr.h>
#include "rate_table.h"
#include <math.h>
Include dependency graph for db.c:

Go to the source code of this file.

Classes

struct  sqlca_s
 
struct  sqlca_s::sqlcaw_s
 

Macros

#define SQLCA_INCL
 
#define SQLNOTFOUND   100
 

Functions

_SQCURSOR * _iqnprep ()
 
int get_rate (char *hb5in, RatingTable *rate_table)
 

Variables

static char * _Cn2 = "selectcursor"
 
static _SQCURSOR * _SQ2 = 0
 
static char * _Cn1 = "selectvalue"
 
static _SQCURSOR * _SQ1 = 0
 
struct sqlca_s sqlca
 
long SQLCODE
 

Macro Definition Documentation

◆ SQLCA_INCL

#define SQLCA_INCL

Definition at line 40 of file db.c.

◆ SQLNOTFOUND

#define SQLNOTFOUND   100

Definition at line 86 of file db.c.

Function Documentation

◆ _iqnprep()

_SQCURSOR* _iqnprep ( )
Here is the caller graph for this function:

◆ get_rate()

int get_rate ( char *  hb5in,
RatingTable rate_table 
)

Definition at line 91 of file db.c.

Here is the call graph for this function:

Variable Documentation

◆ _Cn1

char* _Cn1 = "selectvalue"
static

Definition at line 4 of file db.c.

◆ _Cn2

char* _Cn2 = "selectcursor"
static

Definition at line 3 of file db.c.

◆ _SQ1

_SQCURSOR* _SQ1 = 0
static

Definition at line 4 of file db.c.

◆ _SQ2

_SQCURSOR* _SQ2 = 0
static

Definition at line 3 of file db.c.

◆ sqlca

struct sqlca_s sqlca
extern

◆ SQLCODE

long SQLCODE
extern