Lines Matching refs:dba_info
39 typedef struct dba_info { struct
53 } dba_info; argument
76 int (*open)(dba_info *, char **error);
77 void (*close)(dba_info *);
78 char* (*fetch)(dba_info *, char *, size_t, int, size_t *);
79 int (*update)(dba_info *, char *, size_t, char *, size_t, int);
80 int (*exists)(dba_info *, char *, size_t);
81 int (*delete)(dba_info *, char *, size_t);
82 char* (*firstkey)(dba_info *, size_t *);
83 char* (*nextkey)(dba_info *, size_t *);
84 int (*optimize)(dba_info *);
85 int (*sync)(dba_info *);
86 char* (*info)(struct dba_handler *hnd, dba_info *);
93 int dba_open_##x(dba_info *info, char **error)
95 void dba_close_##x(dba_info *info)
97 char *dba_fetch_##x(dba_info *info, char *key, size_t keylen, int skip, size_t *newlen)
99 int dba_update_##x(dba_info *info, char *key, size_t keylen, char *val, size_t vallen, int mode)
101 int dba_exists_##x(dba_info *info, char *key, size_t keylen)
103 int dba_delete_##x(dba_info *info, char *key, size_t keylen)
105 char *dba_firstkey_##x(dba_info *info, size_t *newlen)
107 char *dba_nextkey_##x(dba_info *info, size_t *newlen)
109 int dba_optimize_##x(dba_info *info)
111 int dba_sync_##x(dba_info *info)
113 char *dba_info_##x(dba_handler *hnd, dba_info *info)