VTK  9.1.0
vtkMySQLDatabasePrivate.h
Go to the documentation of this file.
1#ifndef vtkMySQLDatabasePrivate_h
2#define vtkMySQLDatabasePrivate_h
3
4#ifdef _WIN32
5#include <winsock.h> // mysql.h relies on the typedefs from here
6#endif
7
8#include "vtkIOMySQLModule.h" // For export macro
9#include <mysql.h> // needed for MYSQL typedefs
10
11class VTKIOMYSQL_EXPORT vtkMySQLDatabasePrivate
12{
13public:
15 : Connection(nullptr)
16 {
17 mysql_init(&this->NullConnection);
18 }
19
21 MYSQL* Connection;
22};
23
24#endif // vtkMySQLDatabasePrivate_h
25// VTK-HeaderTest-Exclude: vtkMySQLDatabasePrivate.h