summaryrefslogtreecommitdiff
path: root/libodbcpp/dsn.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2006-07-08 16:32:05 +0000
committerrandomdan <randomdan@localhost>2006-07-08 16:32:05 +0000
commit2a1fa15d8baa4eda37e17b2e9362f8bde17a939d (patch)
tree09386e52320b7c52a521ab56fc7553896e639dcd /libodbcpp/dsn.h
downloadlibdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.tar.bz2
libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.tar.xz
libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.zip
libcodbcpp initial release
Diffstat (limited to 'libodbcpp/dsn.h')
-rw-r--r--libodbcpp/dsn.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libodbcpp/dsn.h b/libodbcpp/dsn.h
new file mode 100644
index 0000000..ac4b6f5
--- /dev/null
+++ b/libodbcpp/dsn.h
@@ -0,0 +1,18 @@
+#ifndef DSN_H
+#define DSN_H
+
+#include "string.h"
+
+namespace ODBC {
+ class DSN {
+ public:
+ DSN(String, String, String);
+ virtual ~DSN();
+ String dsn; // DSN name for odbc.ini
+ String username; // User name
+ String password; // Password
+ };
+}
+
+#endif
+