26 #include <sys/types.h>
36 char * _key,
size_t nkey,
37 char ** data,
size_t * ndata)
40 datum gdbm_key = {key, nkey};
48 memcpy(key, _key, nkey);
49 value = gdbm_fetch(this->gdbm, gdbm_key);
52 if (NULL != value.dptr) {
55 memcpy(*data, value.dptr, value.dsize);
void storageGet(Storage this, char *_key, size_t nkey, char **data, size_t *ndata)