/* Returns: 0 on success <0 failure 1 if DBM_INSERT and entry exists  */
int dbm_store(DBM *db, datum key, datum content, int flags)
/* Returns: 0 on success <0 failure 1 if DBM_INSERT and entry exists  */
int dbm_store(DBM *db, datum key, datum content, int flags)
{
	return ((db->put)(db, (DBT *)&key, (DBT *)&content,
	    (flags == DBM_INSERT) ? R_NOOVERWRITE : 0));
}