summaryrefslogtreecommitdiff
path: root/lib/input/mysqlConn.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input/mysqlConn.h')
-rw-r--r--lib/input/mysqlConn.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/input/mysqlConn.h b/lib/input/mysqlConn.h
new file mode 100644
index 0000000..fa3712c
--- /dev/null
+++ b/lib/input/mysqlConn.h
@@ -0,0 +1,14 @@
+#ifndef MYGRATE_INPUT_MYSQLCONN_H
+#define MYGRATE_INPUT_MYSQLCONN_H
+
+#include <mysql.h>
+
+namespace MyGrate::Input {
+ class MySQLConn : public MYSQL {
+ public:
+ MySQLConn(const char * const host, const char * const user, const char * const pass, unsigned short port);
+ ~MySQLConn();
+ };
+}
+
+#endif