src/keyvalue.c
//================================================================
/*! reorder

  @param  kvh		pointer to key-value handle.
  @return		mrbc_error_code.
*/
reorder
@param  kvh           pointer to key-value handle.
reorder @param kvh pointer to key - value handle .
int mrbc_kv_reorder(mrbc_kv_handle *kvh)
{
  if( kvh->data_size == 0 ) return 0;
  qsort( kvh->data, kvh->n_stored, sizeof(mrbc_kv), compare_key );
  return 0;
}
int mrbc_kv_reorder ( mrbc_kv_handle * kvh ) { if ( kvh -> data_size == 0 ) return 0 ; qsort ( kvh -> data , kvh -> n_stored , sizeof ( mrbc_kv ) , compare_key ) ; return 0 ; }
reorder
@param  kvh           pointer to key-value handle.
reorder @param kvh pointer to key - value handle .