filehash/ffdb_header.c
int filedb_insert_data(FILEDB_DB* dbhh, const FILEDB_DBT* key, const FILEDB_DBT* data)
{
  FFDB_DB*  dbh    = (FFDB_DB*)dbhh;
  FFDB_DBT* dbkey  = (FFDB_DBT*)key;
  FFDB_DBT* dbdata = (FFDB_DBT*)data;
          
  /* now it is time to insert */
  return dbh->put(dbh, dbkey, dbdata, 0);
}
/**
 * Insert key and data pair in string format into the database
 *
 * @param dbh database pointer
 * @key key associated with this data. This key must be string form
 * @data data to be stored into the database. It is in string form
 *
 * @return 0 on success. Otherwise failure
 */
Insert key and data pair in string format into the database
@param dbh database pointer
@key key associated with this data. This key must be string form
@data data to be stored into the database. It is in string form

@return 0 on success. Otherwise failure
Insert key and data pair in string format into the database @param dbh database pointer @key key associated with this data . This key must be string form @data data to be stored into the database . It is in string form @return 0 on success . Otherwise failure
int filedb_insert_data(FILEDB_DB* dbhh, const FILEDB_DBT* key, const FILEDB_DBT* data)
{
  FFDB_DB*  dbh    = (FFDB_DB*)dbhh;
  FFDB_DBT* dbkey  = (FFDB_DBT*)key;
  FFDB_DBT* dbdata = (FFDB_DBT*)data;
  return dbh->put(dbh, dbkey, dbdata, 0);
}
int filedb_insert_data ( FILEDB_DB * dbhh , const FILEDB_DBT * key , const FILEDB_DBT * data ) { FFDB_DB * dbh = ( FFDB_DB * ) dbhh ; FFDB_DBT * dbkey = ( FFDB_DBT * ) key ; FFDB_DBT * dbdata = ( FFDB_DBT * ) data ; return dbh -> put ( dbh , dbkey , dbdata , 0 ) ; }
Insert key and data pair in string format into the database
 @param dbh database pointer
 @key key associated with this data.
Insert key and data pair in string format into the database @param dbh database pointer @key key associated with this data .
/* now it is time to insert */