Mapper
Classes | Macros | Typedefs | Functions | Variables
finder.c File Reference
#include <sqlhdr.h>
#include <sqliapi.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "ifxtypes.h"
Include dependency graph for finder.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
 
#define STNRECSIZE   100
 
#define SENSRECSIZE   90
 

Typedefs

typedef struct sqlca_s ifx_sqlca_t
 

Functions

 finder (char *name, char *ch5, char *plat, char *state, int *sqlerrcode)
 
 strupper (char *thestr)
 

Variables

static const char * _Cn6 = "senscursor"
 
static const char * _Cn5 = "qid2"
 
static const char * _Cn4 = "descursor"
 
static const char * _Cn3 = "qid1"
 
static const char * _Cn2 = "idcursor"
 
static const char * _Cn1 = "qid0"
 
struct sqlca_s sqlca
 
int4 SQLCODE
 
char SQLSTATE []
 
char hpe1 [2]
 
char hpe2 [2]
 
char hdur [2]
 
char ht [2]
 
char hs [2]
 
char he [2]
 
char hp [2]
 

Macro Definition Documentation

◆ SENSRECSIZE

#define SENSRECSIZE   90

Definition at line 126 of file finder.c.

◆ SQLCA_INCL

#define SQLCA_INCL

Definition at line 46 of file finder.c.

◆ SQLNOTFOUND

#define SQLNOTFOUND   100

Definition at line 101 of file finder.c.

◆ STNRECSIZE

#define STNRECSIZE   100

Definition at line 125 of file finder.c.

Typedef Documentation

◆ ifx_sqlca_t

typedef struct sqlca_s ifx_sqlca_t

Function Documentation

◆ finder()

finder ( char *  name,
char *  ch5,
char *  plat,
char *  state,
int *  sqlerrcode 
)

Definition at line 130 of file finder.c.

Here is the call graph for this function:

◆ strupper()

strupper ( char *  thestr)

Definition at line 819 of file finder.c.

Here is the caller graph for this function:

Variable Documentation

◆ _Cn1

const char* _Cn1 = "qid0"
static

Definition at line 8 of file finder.c.

◆ _Cn2

const char* _Cn2 = "idcursor"
static

Definition at line 7 of file finder.c.

◆ _Cn3

const char* _Cn3 = "qid1"
static

Definition at line 6 of file finder.c.

◆ _Cn4

const char* _Cn4 = "descursor"
static

Definition at line 5 of file finder.c.

◆ _Cn5

const char* _Cn5 = "qid2"
static

Definition at line 4 of file finder.c.

◆ _Cn6

const char* _Cn6 = "senscursor"
static

Definition at line 3 of file finder.c.

◆ hdur

char hdur[2]

Definition at line 128 of file finder.c.

◆ he

char he[2]

Definition at line 128 of file finder.c.

◆ hp

char hp[2]

Definition at line 128 of file finder.c.

◆ hpe1

char hpe1[2]
extern

◆ hpe2

char hpe2[2]

Definition at line 128 of file finder.c.

◆ hs

char hs[2]

Definition at line 128 of file finder.c.

◆ ht

char ht[2]

Definition at line 128 of file finder.c.

◆ sqlca

struct sqlca_s sqlca
extern

◆ SQLCODE

int4 SQLCODE
extern

◆ SQLSTATE

char SQLSTATE[]
extern