-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutil.h
More file actions
53 lines (40 loc) · 1.31 KB
/
util.h
File metadata and controls
53 lines (40 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*******************************************************************************
** source File Name = util.h 1.7
**
** Licensed Materials - Property of IBM
**
** (C) COPYRIGHT International Business Machines Corp. 1995, 1997
** All Rights Reserved.
**
** US Government Users Restricted Rights - Use, duplication or
** disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
**
**
** PURPOSE : Header file for util.c
**
*******************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/* Defines for BINDING */
#define DEFAULT_ISOLVL 0
#define REPEATABLE_READ 1
#define READ_STABILITY 2
#define CURSOR_STABILITY 3
#define UNCOMMITTED_READ 4
#define MEMERROR 32000
int check_error (char eString[], struct sqlca *caPointer);
void init_da (struct sqlda **DAPointer, int DAsqln);
void alloc_host_vars (struct sqlda *sqldaPointer);
void free_da (struct sqlda *sqldaPointer);
void print_var (char *ptr, int type, short collen, short datalen);
void display_col_titles (struct sqlda *sqldaPointer);
void display_da (struct sqlda *sqldaPointer);
/* Routines involving Error Logging */
extern void init_error_log(void);
extern void sqlerror(struct sqlca *sqlca);
extern void display_errors(void);
extern void free_error_log(void);
#ifdef __cplusplus
}
#endif