]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cursor.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Modules / _sqlite / cursor.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cursor.h b/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cursor.h
deleted file mode 100644 (file)
index a7c5579..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* cursor.h - definitions for the cursor type\r
- *\r
- * Copyright (C) 2004-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_CURSOR_H\r
-#define PYSQLITE_CURSOR_H\r
-#include "Python.h"\r
-\r
-#include "statement.h"\r
-#include "connection.h"\r
-#include "module.h"\r
-\r
-typedef struct\r
-{\r
-    PyObject_HEAD\r
-    pysqlite_Connection* connection;\r
-    PyObject* description;\r
-    PyObject* row_cast_map;\r
-    int arraysize;\r
-    PyObject* lastrowid;\r
-    long rowcount;\r
-    PyObject* row_factory;\r
-    pysqlite_Statement* statement;\r
-    int closed;\r
-    int reset;\r
-    int initialized;\r
-\r
-    /* the next row to be returned, NULL if no next row available */\r
-    PyObject* next_row;\r
-\r
-    PyObject* in_weakreflist; /* List of weak references */\r
-} pysqlite_Cursor;\r
-\r
-typedef enum {\r
-    STATEMENT_INVALID, STATEMENT_INSERT, STATEMENT_DELETE,\r
-    STATEMENT_UPDATE, STATEMENT_REPLACE, STATEMENT_SELECT,\r
-    STATEMENT_OTHER\r
-} pysqlite_StatementKind;\r
-\r
-extern PyTypeObject pysqlite_CursorType;\r
-\r
-PyObject* pysqlite_cursor_execute(pysqlite_Cursor* self, PyObject* args);\r
-PyObject* pysqlite_cursor_executemany(pysqlite_Cursor* self, PyObject* args);\r
-PyObject* pysqlite_cursor_getiter(pysqlite_Cursor *self);\r
-PyObject* pysqlite_cursor_iternext(pysqlite_Cursor *self);\r
-PyObject* pysqlite_cursor_fetchone(pysqlite_Cursor* self, PyObject* args);\r
-PyObject* pysqlite_cursor_fetchmany(pysqlite_Cursor* self, PyObject* args, PyObject* kwargs);\r
-PyObject* pysqlite_cursor_fetchall(pysqlite_Cursor* self, PyObject* args);\r
-PyObject* pysqlite_noop(pysqlite_Connection* self, PyObject* args);\r
-PyObject* pysqlite_cursor_close(pysqlite_Cursor* self, PyObject* args);\r
-\r
-int pysqlite_cursor_setup_types(void);\r
-\r
-#define UNKNOWN (-1)\r
-#endif\r