s/STATUS_FOR_RTM/STATUS_FOR_MONITORING
authorDaniel Kouřil <kouril@ics.muni.cz>
Fri, 19 Mar 2010 09:35:05 +0000 (09:35 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Fri, 19 Mar 2010 09:35:05 +0000 (09:35 +0000)
org.glite.lb.server/src/authz_policy.c
org.glite.lb.server/src/authz_policy.h
org.glite.lb.server/src/jobstat.c
org.glite.lb.server/src/notif_match.c

index 485a59b..b6a4485 100644 (file)
@@ -23,7 +23,7 @@ limitations under the License.
 
 struct action_name action_names[] = {
     { ADMIN_ACCESS,    "ADMIN_ACCESS" },
-    { STATUS_FOR_RTM,  "STATUS_FOR_RTM" },
+    { STATUS_FOR_MONITORING,   "STATUS_FOR_MONITORING" },
     { LOG_WMS_EVENTS,  "LOG_WMS_EVENTS" },
     { LOG_CE_EVENTS,   "LOG_CE_EVENTS" },
     { LOG_GENERAL_EVENTS,      "LOG_GENERAL_EVENTS" },
@@ -119,7 +119,7 @@ blacken_fields(edg_wll_JobStat *stat, int flags)
 
     edg_wll_InitStatus(&new_stat);
 
-    if (flags & STATUS_FOR_RTM) {
+    if (flags & STATUS_FOR_MONITORING) {
        new_stat.state = stat->state;
        edg_wlc_JobIdDup(stat->jobId, &new_stat.jobId);
        if (stat->jdl)
index de86035..7566059 100644 (file)
@@ -25,7 +25,7 @@ limitations under the License.
 typedef enum {
     ACTION_UNDEF       = 0,
     ADMIN_ACCESS       = ~0,
-    STATUS_FOR_RTM     = 1 << 1,
+    STATUS_FOR_MONITORING = 1 << 1,
     LOG_WMS_EVENTS     = 1 << 2,
     LOG_CE_EVENTS      = 1 << 3,
     LOG_GENERAL_EVENTS = 1 << 4,
index 0f56420..fcd9130 100644 (file)
@@ -107,8 +107,8 @@ check_jobstat_authz(edg_wll_Context ctx,
        edg_wll_ResetError(ctx);
        princ.name = ctx->peerName;
        princ.fqans = ctx->fqans;
-       if (check_authz_policy(&ctx->authz_policy, &princ, STATUS_FOR_RTM)) {
-               *flags |= STATUS_FOR_RTM;
+       if (check_authz_policy(&ctx->authz_policy, &princ, STATUS_FOR_MONITORING)) {
+               *flags |= STATUS_FOR_MONITORING;
                return 1;
        }
        return 0;
index 847170c..eff3d97 100644 (file)
@@ -254,8 +254,8 @@ static int notif_check_acl(edg_wll_Context ctx,const edg_wll_JobStat *stat,const
        }
 
        princ.name = (char *)recip;
-       if (check_authz_policy(&ctx->authz_policy, &princ, STATUS_FOR_RTM)) {
-               *authz_flags |= STATUS_FOR_RTM;
+       if (check_authz_policy(&ctx->authz_policy, &princ, STATUS_FOR_MONITORING)) {
+               *authz_flags |= STATUS_FOR_MONITORING;
                 return 1;
        }