2 docCopyright("Jeremy Cowgar", 2006)
3 docLicense("BSD revised")
6 #ifndef IODBIRESULT_DEFINED
7 #define IODBIRESULT_DEFINED 1
15 This *is* defined in dbi/dbi.h but I continue to get " warning:
16 implicit declaration of function 'dbi_result_get_int_idx'" which is driving
17 me crazy, therefore I added this line in the .h.
19 TODO: figure out why it is not working correctly with the dbi/dbi.h
22 int dbi_result_get_int_idx(dbi_result Result
, unsigned int fieldidx
);
24 #define ISDBIRESULT(self) IoObject_hasCloneFunc_(self, \
25 (IoTagCloneFunc *)IoDBIResult_rawClone)
27 typedef IoObject IoDBIResult
;
35 IoDBIResult
*IoDBIResult_rawClone(IoDBIResult
*self
);
36 IoDBIResult
*IoDBIResult_proto(void *state
);
37 void IoDBIResult_free(IoDBIResult
*self
);
38 void IoDBIResult_mark(IoDBIResult
*self
);
40 /* ---------------------------------------------------------------- */
42 IoDBIResult
*IoDBIResult_new(void *state
, dbi_result result
);
44 /* ---------------------------------------------------------------- */
46 IoObject
*IoDBIResult_size(
47 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
48 IoObject
*IoDBIResult_fields(
49 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
50 IoObject
*IoDBIResult_first(
51 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
52 IoObject
*IoDBIResult_previous(
53 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
54 IoObject
*IoDBIResult_next(
55 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
56 IoObject
*IoDBIResult_last(
57 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
58 IoObject
*IoDBIResult_seek(
59 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
60 IoObject
*IoDBIResult_position(
61 IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
62 IoObject
*IoDBIResult_at(IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);
63 IoObject
*IoDBIResult_populate(IoDBIResult
*self
, IoObject
*locals
,
65 IoObject
*IoDBIResult_foreach(IoDBIResult
*self
, IoObject
*locals
,
67 IoObject
*IoDBIResult_done(IoDBIResult
*self
, IoObject
*locals
, IoMessage
*m
);