Lines Matching refs:dptr
39 #define DBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
99 if(gval.dptr) { in DBA_FETCH_FUNC()
101 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
114 if(gval.dptr) { in DBA_UPDATE_FUNC()
119 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
131 if(gval.dptr) { in DBA_EXISTS_FUNC()
150 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
152 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
155 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
165 if(!dba->nextkey.dptr) return NULL; in DBA_NEXTKEY_FUNC()
168 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
170 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
173 dba->nextkey.dptr = NULL; in DBA_NEXTKEY_FUNC()