2 docCopyright("Steve Dekorte", 2002)
3 docLicense("BSD revised")
6 #ifndef IOSQLITE_DEFINED
7 #define IOSQLITE_DEFINED 1
14 #define ISSQLITE(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoSQLite_rawClone)
16 typedef IoObject IoSQLite
;
24 double timeoutSeconds
;
25 unsigned char debugOn
;
28 IoSQLite
*IoSQLite_rawClone(IoSQLite
*self
);
29 IoSQLite
*IoSQLite_proto(void *state
);
30 IoSQLite
*IoSQLite_new(void *state
);
31 IoSQLite
*IoSQLite_newWithPath_(void *state
, IoSymbol
*path
);
33 void IoSQLite_free(IoSQLite
*self
);
34 void IoSQLite_mark(IoSQLite
*self
);
36 void IoSQLite_error_(IoSQLite
*self
, char *error
);
37 char *IoSQLite_error(IoSQLite
*self
);
39 /* ----------------------------------------------------------- */
40 IoObject
*IoSQLite_path(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
41 IoObject
*IoSQLite_setPath(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
43 IoObject
*IoSQLite_timeoutSeconds(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
44 IoObject
*IoSQLite_setTimeoutSeconds(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
46 IoObject
*IoSQLite_open(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
48 IoObject
*IoSQLite_close(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
49 IoObject
*IoSQLite_exec(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
50 /*IoObject *IoSQLite_results(IoSQLite *self, IoObject *locals, IoMessage *m);*/
51 IoObject
*IoSQLite_errorMessage(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
52 IoObject
*IoSQLite_version(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
53 IoObject
*IoSQLite_changes(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
54 IoObject
*IoSQLite_lastInsertRowId(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
55 IoObject
*IoSQLite_viewNames(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
56 IoObject
*IoSQLite_tableNames(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
57 IoObject
*IoSQLite_columnNamesOfTable(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
58 IoObject
*IoSQLite_debugOn(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
59 IoObject
*IoSQLite_debugOff(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
60 IoObject
*IoSQLite_isOpen(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);
61 IoObject
*IoSQLite_escapeString(IoSQLite
*self
, IoObject
*locals
, IoMessage
*m
);