(root)/
Python-3.11.7/
Modules/
_sqlite/
blob.h
       1  #ifndef PYSQLITE_BLOB_H
       2  #define PYSQLITE_BLOB_H
       3  
       4  #include "Python.h"
       5  #include "sqlite3.h"
       6  #include "connection.h"
       7  
       8  #define BLOB_SEEK_START 0
       9  #define BLOB_SEEK_CUR   1
      10  #define BLOB_SEEK_END   2
      11  
      12  typedef struct {
      13      PyObject_HEAD
      14      pysqlite_Connection *connection;
      15      sqlite3_blob *blob;
      16      int offset;
      17  
      18      PyObject *in_weakreflist;
      19  } pysqlite_Blob;
      20  
      21  int pysqlite_blob_setup_types(PyObject *mod);
      22  void pysqlite_close_all_blobs(pysqlite_Connection *self);
      23  
      24  #endif