src/ffs/ffs_control.c
int ffs_control_log_to_mpilog(ffs_control_t * obj, mpilog_t * log) {

  dbg_return_if(obj == NULL, -1);
  dbg_return_if(log == NULL, -1);

  mpilog(log, "\n");
  mpilog(log, "%s\n", FFS_CONFIG_FFS);
  mpilog(log, "{\n");
  mpilog(log, "\t%s\t%d\n", FFS_CONFIG_FFS_INSTANCES, obj->ninstances);
  mpilog(log, "\t%s\t%d\n", FFS_CONFIG_FFS_SEED, obj->seed);
  mpilog(log, "}\n");

  return 0;
}
/*****************************************************************************
 *
 *  ffs_control_log_to_mpilog
 *
 *  Log details to the specified log as a config object.
 *
 *****************************************************************************/
ffs_control_log_to_mpilog
Log details to the specified log as a config object.
ffs_control_log_to_mpilog Log details to the specified log as a config object .
int ffs_control_log_to_mpilog(ffs_control_t * obj, mpilog_t * log) {
  dbg_return_if(obj == NULL, -1);
  dbg_return_if(log == NULL, -1);
  mpilog(log, "\n");
  mpilog(log, "%s\n", FFS_CONFIG_FFS);
  mpilog(log, "{\n");
  mpilog(log, "\t%s\t%d\n", FFS_CONFIG_FFS_INSTANCES, obj->ninstances);
  mpilog(log, "\t%s\t%d\n", FFS_CONFIG_FFS_SEED, obj->seed);
  mpilog(log, "}\n");
  return 0;
}
int ffs_control_log_to_mpilog ( ffs_control_t * obj , mpilog_t * log ) { dbg_return_if ( obj == NULL , -1 ) ; dbg_return_if ( log == NULL , -1 ) ; mpilog ( log , " \n " ) ; mpilog ( log , " \n " , FFS_CONFIG_FFS ) ; mpilog ( log , " \n " ) ; mpilog ( log , " \t \t \n " , FFS_CONFIG_FFS_INSTANCES , obj -> ninstances ) ; mpilog ( log , " \t \t \n " , FFS_CONFIG_FFS_SEED , obj -> seed ) ; mpilog ( log , " \n " ) ; return 0 ; }
ffs_control_log_to_mpilog
  Log details to the specified log as a config object.
ffs_control_log_to_mpilog Log details to the specified log as a config object .