From: Aleš Křenek Date: Mon, 30 Jul 2007 16:42:47 +0000 (+0000) Subject: Align minor stat codes with matching codes in events X-Git-Tag: glite-lb-build_R_1_6_0_1~20 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7f6dd32a62d5d33caf948a867eae997425b1a797;p=jra1mw.git Align minor stat codes with matching codes in events --- diff --git a/org.glite.lb.client-interface/interface/jobstat.h.T b/org.glite.lb.client-interface/interface/jobstat.h.T index 64389ec..60ca35a 100644 --- a/org.glite.lb.client-interface/interface/jobstat.h.T +++ b/org.glite.lb.client-interface/interface/jobstat.h.T @@ -32,8 +32,10 @@ extern "C" { my $f = selectField $status $n; if ($f->{codes}) { my $n = ucfirst getName $f; + my $un = uc $n; gen qq{ !enum edg_wll_Stat$n \{ + EDG_WLL_STAT_${un}_UNDEF, }; for (@{$f->{codes}}) { my $uc = uc $_->{name}; @@ -41,7 +43,6 @@ extern "C" { ! EDG_WLL_STAT_$uc, /**< $_->{comment} */ }; } - my $un = uc $n; gen qq{ ! EDG_WLL_NUMBER_OF_${un}S /**< Number of ${n}s */ };