Lines Matching defs:completion_cursor
57 typedef struct completion_cursor completion_cursor; typedef
58 struct completion_cursor { struct
59 sqlite3_vtab_cursor base; /* Base class - must be first */
60 sqlite3 *db; /* Database connection for this cursor */
61 int nPrefix, nLine; /* Number of bytes in zPrefix and zLine */
62 char *zPrefix; /* The prefix for the word we want to complete */
63 char *zLine; /* The whole that we want to complete */
64 const char *zCurrentRow; /* Current output row */
65 int szRow; /* Length of the zCurrentRow string */
66 sqlite3_stmt *pStmt; /* Current statement */
67 sqlite3_int64 iRowid; /* The rowid */
68 int ePhase; /* Current phase */
69 int j; /* inter-phase counter */