]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/statement.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Modules / _sqlite / statement.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/statement.h b/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/statement.h
deleted file mode 100644 (file)
index 03e04f2..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/* statement.h - definitions for the statement type\r
- *\r
- * Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>\r
- *\r
- * This file is part of pysqlite.\r
- *\r
- * This software is provided 'as-is', without any express or implied\r
- * warranty.  In no event will the authors be held liable for any damages\r
- * arising from the use of this software.\r
- *\r
- * Permission is granted to anyone to use this software for any purpose,\r
- * including commercial applications, and to alter it and redistribute it\r
- * freely, subject to the following restrictions:\r
- *\r
- * 1. The origin of this software must not be misrepresented; you must not\r
- *    claim that you wrote the original software. If you use this software\r
- *    in a product, an acknowledgment in the product documentation would be\r
- *    appreciated but is not required.\r
- * 2. Altered source versions must be plainly marked as such, and must not be\r
- *    misrepresented as being the original software.\r
- * 3. This notice may not be removed or altered from any source distribution.\r
- */\r
-\r
-#ifndef PYSQLITE_STATEMENT_H\r
-#define PYSQLITE_STATEMENT_H\r
-#include "Python.h"\r
-\r
-#include "connection.h"\r
-#include "sqlite3.h"\r
-\r
-#define PYSQLITE_TOO_MUCH_SQL (-100)\r
-#define PYSQLITE_SQL_WRONG_TYPE (-101)\r
-\r
-typedef struct\r
-{\r
-    PyObject_HEAD\r
-    sqlite3* db;\r
-    sqlite3_stmt* st;\r
-    PyObject* sql;\r
-    int in_use;\r
-    PyObject* in_weakreflist; /* List of weak references */\r
-} pysqlite_Statement;\r
-\r
-extern PyTypeObject pysqlite_StatementType;\r
-\r
-int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* connection, PyObject* sql);\r
-void pysqlite_statement_dealloc(pysqlite_Statement* self);\r
-\r
-int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter, int allow_8bit_chars);\r
-void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters, int allow_8bit_chars);\r
-\r
-int pysqlite_statement_recompile(pysqlite_Statement* self, PyObject* parameters);\r
-int pysqlite_statement_finalize(pysqlite_Statement* self);\r
-int pysqlite_statement_reset(pysqlite_Statement* self);\r
-void pysqlite_statement_mark_dirty(pysqlite_Statement* self);\r
-\r
-int pysqlite_statement_setup_types(void);\r
-\r
-#endif\r