summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/db/dbconnect.h11
-rw-r--r--src/db/dbconnect.sqc11
2 files changed, 22 insertions, 0 deletions
diff --git a/src/db/dbconnect.sqc b/src/db/dbconnect.sqc
new file mode 100644
index 0000000..1e41a12
--- a/dev/null
+++ b/src/db/dbconnect.sqc
@@ -0,0 +1,11 @@
+#include "dbconnect.h"
+#include "../util/check_error.h"
+
+EXEC SQL INCLUDE sqlca;
+
+void
+dbconnect (void)
+{
+ EXEC SQL CONNECT TO exp004;
+ check_error (__FILE__, __LINE__);
+}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.