Lines Matching refs:gval
94 datum gval; in DBA_FETCH_FUNC() local
98 gval = fetch(gkey); in DBA_FETCH_FUNC()
99 if(gval.dptr) { in DBA_FETCH_FUNC()
100 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC()
101 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
108 datum gval; in DBA_UPDATE_FUNC() local
113 gval = fetch(gkey); in DBA_UPDATE_FUNC()
114 if(gval.dptr) { in DBA_UPDATE_FUNC()
119 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
120 gval.dsize = vallen; in DBA_UPDATE_FUNC()
122 return (store(gkey, gval) == -1 ? FAILURE : SUCCESS); in DBA_UPDATE_FUNC()
127 datum gval; in DBA_EXISTS_FUNC() local
130 gval = fetch(gkey); in DBA_EXISTS_FUNC()
131 if(gval.dptr) { in DBA_EXISTS_FUNC()