summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-dsn.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/odbc-dsn.h')
-rw-r--r--libodbcpp/odbc-dsn.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libodbcpp/odbc-dsn.h b/libodbcpp/odbc-dsn.h
new file mode 100644
index 0000000..6be7e3b
--- /dev/null
+++ b/libodbcpp/odbc-dsn.h
@@ -0,0 +1,18 @@
+#ifndef DSN_H
+#define DSN_H
+
+#include <string>
+
+namespace ODBC {
+ class DSN {
+ public:
+ DSN(const std::string &, const std::string &, const std::string &);
+ virtual ~DSN();
+ const std::string dsn; // DSN name for odbc.ini
+ const std::string username; // User name
+ const std::string password; // Password
+ };
+}
+
+#endif
+