-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdbdimp.h
More file actions
46 lines (37 loc) · 1.1 KB
/
dbdimp.h
File metadata and controls
46 lines (37 loc) · 1.1 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
/* (C) Copyright 2012-2026 Dassault Systemes SE.
* Redistribution and use permitted under the terms of the 3-clause BSD license.
*/
#include <DBIXS.h>
#ifdef _MSC_VER
# undef close
#else
# undef dNOOP
# define dNOOP extern int __attribute__ ((unused)) Perl___notused
#endif
#include "NuoDB.h"
struct imp_drh_st
{
dbih_drc_t com; /* MUST be first element in structure */
};
struct imp_dbh_st
{
dbih_dbc_t com; /* MUST be first element in structure */
NuoDB::Connection* conn;
};
struct imp_sth_st
{
dbih_stc_t com; /* MUST be first element in structure */
NuoDB::PreparedStatement *pstmt;
NuoDB::ResultSet *rs;
};
#define dbd_init nuodb_dr_init
#define dbd_db_login6_sv nuodb_db_login6_sv
#define dbd_db_do nuodb_db_do
#define dbd_st_prepare_sv nuodb_st_prepare_sv
#define dbd_st_fetch nuodb_st_fetch
#define dbd_st_destroy nuodb_st_destroy
#define dbd_db_destroy nuodb_db_destroy
#define dbd_db_disconnect nuodb_db_disconnect
void do_error(SV* h, int rc, const char* what);
const char* dbd_st_analyze(SV* sth);
const char* dbd_db_version(SV* dbh);