diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-22 14:01:04 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-22 14:01:04 +0100 |
commit | af32ac991f1dd3d9138227436b5759889c1aaf77 (patch) | |
tree | 5af019a48d06ee943e3debac0eff3c0be073cc8f /lib/input/mysqlConn.h | |
parent | Add test file for odds and ends (diff) | |
download | mygrate-af32ac991f1dd3d9138227436b5759889c1aaf77.tar.bz2 mygrate-af32ac991f1dd3d9138227436b5759889c1aaf77.tar.xz mygrate-af32ac991f1dd3d9138227436b5759889c1aaf77.zip |
Move everything into more sensible places
Diffstat (limited to 'lib/input/mysqlConn.h')
-rw-r--r-- | lib/input/mysqlConn.h | 14 |
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 |