home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Product
/
Product.zip
/
DBDEMO.ZIP
/
DEMOFLS.ZIP
/
DB.H
< prev
next >
Wrap
Text File
|
1991-06-03
|
2KB
|
34 lines
/************************************************************************/
/* DATABASE PERFORMANCE CONCEPTS AND TECHNIQUE DEMONSTRATION PROGRAM */
/* HEADER FILE */
/* SOURCE - DB.H */
/* This file contains variable and function declarations used by */
/* the imbedded SQL modules: */
/* indices.sqc */
/* stat_dyn.sqc */
/* ari.sqc */
/* rblock.sqc */
/* rblockno.sqc */
/************************************************************************/
/*****************************-DIRECTIVES-**********************************/
#include <stdio.h> // standard input output -c
#include <stdlib.h> // C language standard library
#include <string.h> // C language string functions
#include <doscalls.h> //
#include <sys\timeb.h> // declarations for time_b structure used by ftime()
// and delta function
#include <sql.h> // error message retreival
#include <sqlenv.h> // dbm environment functions
#include <sqlca.h> // communication area (sqlca) support
#include "dbcomm.h" // variables connecting PM driver and db modules
/*****************************-END DIRECTIVES-******************************/
#define CODEPAGE_US 437
#define QUERYLENGTH 80
struct sqlca sqlca;
/* delta find difference in values of two timeb structs */
/* and returns a double */
extern void far pascal get_error(struct sqlca *, char *);
extern double delta(a, b, c, d);