int status,keylen,vallen,*data; char *keystr,*valstr;
int status,keylen,vallen; char *keystr,*valstr,*data;
ypxfr_foreach(status,keystr,keylen,valstr,vallen,data)int status,keylen,vallen,*data;char *keystr,*valstr;{	datum	key,val;	if (status == 2)		return(0);	keystr[keylen] = '\0';	valstr[vallen] = '\0';	key.dptr = keystr;	key.dsize = strlen(keystr);	val.dptr = valstr;	val.dsize = strlen(valstr);		ypdb_store(db, key, val, YPDB_INSERT);	return 0;}