summaryrefslogtreecommitdiff
path: root/libodbcpp/dsn.h
diff options
context:
space:
mode:
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
+