Addons updated to new doc format
[io.git] / addons / QDBM / source / IoQDBM.h
blob7a45dd4d2dc1df9bb3d1b83247c797296c6fe8dc
1 //metadoc QDBM copyright Steve Dekorte 2002
2 //metadoc QDBM license BSD revised
4 #ifndef IoQDBM_DEFINED
5 #define IoQDBM_DEFINED 1
7 #include "Common.h"
8 #include "IoState.h"
9 #include "IoObject.h"
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 #define ISQDBM(self) \
16 IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoQDBM_rawClone)
18 typedef IoObject IoQDBM;
20 IoQDBM *IoQDBM_proto(void *state);
21 IoQDBM *IoQDBM_rawClone(IoObject *self);
22 IoQDBM *IoQDBM_new(void *state);
23 void IoQDBM_free(IoObject *self);
24 //void IoQDBM_mark(IoObject *self);
26 // --------------------------------------------------------
28 IoObject *IoQDBM_open(IoObject *self, IoObject *locals, IoMessage *m);
29 IoObject *IoQDBM_close(IoObject *self, IoObject *locals, IoMessage *m);
30 IoObject *IoQDBM_atPut(IoObject *self, IoObject *locals, IoMessage *m);
31 IoObject *IoQDBM_at(IoObject *self, IoObject *locals, IoMessage *m);
32 IoObject *IoQDBM_sizeAt(IoObject *self, IoObject *locals, IoMessage *m);
33 IoObject *IoQDBM_removeAt(IoObject *self, IoObject *locals, IoMessage *m);
34 IoObject *IoQDBM_sync(IoObject *self, IoObject *locals, IoMessage *m);
35 IoObject *IoQDBM_size(IoObject *self, IoObject *locals, IoMessage *m);
36 IoObject *IoQDBM_optimize(IoObject *self, IoObject *locals, IoMessage *m);
37 IoObject *IoQDBM_name(IoObject *self, IoObject *locals, IoMessage *m);
39 // transactions
41 IoObject *IoQDBM_begin(IoObject *self, IoObject *locals, IoMessage *m);
42 IoObject *IoQDBM_commit(IoObject *self, IoObject *locals, IoMessage *m);
43 IoObject *IoQDBM_abort(IoObject *self, IoObject *locals, IoMessage *m);
45 // cursor
47 IoObject *IoQDBM_cursorFirst(IoObject *self, IoObject *locals, IoMessage *m);
48 IoObject *IoQDBM_cursorLast(IoObject *self, IoObject *locals, IoMessage *m);
49 IoObject *IoQDBM_cursorPrevious(IoObject *self, IoObject *locals, IoMessage *m);
50 IoObject *IoQDBM_cursorNext(IoObject *self, IoObject *locals, IoMessage *m);
51 IoObject *IoQDBM_cursorJumpForward(IoObject *self, IoObject *locals, IoMessage *m);
52 IoObject *IoQDBM_cursorJumpBackward(IoObject *self, IoObject *locals, IoMessage *m);
53 IoObject *IoQDBM_cursorKey(IoObject *self, IoObject *locals, IoMessage *m);
54 IoObject *IoQDBM_cursorValue(IoObject *self, IoObject *locals, IoMessage *m);
55 IoObject *IoQDBM_cursorPut(IoObject *self, IoObject *locals, IoMessage *m);
56 IoObject *IoQDBM_cursorRemove(IoObject *self, IoObject *locals, IoMessage *m);
58 #ifdef __cplusplus
60 #endif
61 #endif