Lines Matching defs:completion_cursor
3240 typedef struct completion_cursor completion_cursor; typedef
3241 struct completion_cursor { struct
3242 sqlite3_vtab_cursor base; /* Base class - must be first */
3243 sqlite3 *db; /* Database connection for this cursor */
3244 int nPrefix, nLine; /* Number of bytes in zPrefix and zLine */
3245 char *zPrefix; /* The prefix for the word we want to complete */
3246 char *zLine; /* The whole that we want to complete */
3247 const char *zCurrentRow; /* Current output row */
3248 int szRow; /* Length of the zCurrentRow string */
3249 sqlite3_stmt *pStmt; /* Current statement */
3250 sqlite3_int64 iRowid; /* The rowid */
3251 int ePhase; /* Current phase */
3252 int j; /* inter-phase counter */