src/lib/util.c
const char *job_level_to_str(int level)
{
   const char *str;

   switch (level) {
   case L_BASE:
      str = _("Base");
      break;
   case L_FULL:
      str = _("Full");
      break;
   case L_INCREMENTAL:
      str = _("Incremental");
      break;
   case L_DIFFERENTIAL:
      str = _("Differential");
      break;
   case L_SINCE:
      str = _("Since");
      break;
   case L_VERIFY_CATALOG:
      str = _("Verify Catalog");
      break;
   case L_VERIFY_INIT:
      str = _("Verify Init Catalog");
      break;
   case L_VERIFY_VOLUME_TO_CATALOG:
      str = _("Verify Volume to Catalog");
      break;
   case L_VERIFY_DISK_TO_CATALOG:
      str = _("Verify Disk to Catalog");
      break;
   case L_VERIFY_DATA:
      str = _("Verify Data");
      break;
   case L_VIRTUAL_FULL:
      str = _("Virtual Full");
      break;
   case L_NONE:
      str = " ";
      break;
   default:
      str = _("Unknown Job Level");
      break;
   }
   return str;
}
/*
 * Convert Job Level into a string
 */
Convert Job Level into a string
Convert Job Level into a string
const char *job_level_to_str(int level)
{
   const char *str;
   switch (level) {
   case L_BASE:
      str = _("Base");
      break;
   case L_FULL:
      str = _("Full");
      break;
   case L_INCREMENTAL:
      str = _("Incremental");
      break;
   case L_DIFFERENTIAL:
      str = _("Differential");
      break;
   case L_SINCE:
      str = _("Since");
      break;
   case L_VERIFY_CATALOG:
      str = _("Verify Catalog");
      break;
   case L_VERIFY_INIT:
      str = _("Verify Init Catalog");
      break;
   case L_VERIFY_VOLUME_TO_CATALOG:
      str = _("Verify Volume to Catalog");
      break;
   case L_VERIFY_DISK_TO_CATALOG:
      str = _("Verify Disk to Catalog");
      break;
   case L_VERIFY_DATA:
      str = _("Verify Data");
      break;
   case L_VIRTUAL_FULL:
      str = _("Virtual Full");
      break;
   case L_NONE:
      str = " ";
      break;
   default:
      str = _("Unknown Job Level");
      break;
   }
   return str;
}
const char * job_level_to_str ( int level ) { const char * str ; switch ( level ) { case L_BASE : str = _ ( " " ) ; break ; case L_FULL : str = _ ( " " ) ; break ; case L_INCREMENTAL : str = _ ( " " ) ; break ; case L_DIFFERENTIAL : str = _ ( " " ) ; break ; case L_SINCE : str = _ ( " " ) ; break ; case L_VERIFY_CATALOG : str = _ ( " " ) ; break ; case L_VERIFY_INIT : str = _ ( " " ) ; break ; case L_VERIFY_VOLUME_TO_CATALOG : str = _ ( " " ) ; break ; case L_VERIFY_DISK_TO_CATALOG : str = _ ( " " ) ; break ; case L_VERIFY_DATA : str = _ ( " " ) ; break ; case L_VIRTUAL_FULL : str = _ ( " " ) ; break ; case L_NONE : str = " " ; break ; default : str = _ ( " " ) ; break ; } return str ; }
Convert Job Level into a string
Convert Job Level into a string