/[pdpsoft]/trunk/grid-mw-security/ees/src/aos/aos.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/aos/aos.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1306 by aramv, Wed Dec 9 16:39:10 2009 UTC revision 1307 by okoeroo, Thu Dec 17 13:10:53 2009 UTC
# Line 331  EES_RC destroyObligation(const char* lab Line 331  EES_RC destroyObligation(const char* lab
331    return aos_delete_argument_by_label(label, &list_obligations, size_obligations);    return aos_delete_argument_by_label(label, &list_obligations, size_obligations);
332  }  }
333    
334    
335    EES_RC aos_dump_argslists (void){
336      eef_log(LOG_ERR, "Dumping Assertions AOS\n");
337      aos_dump_argslist(&list_assertions, size_assertions);
338      eef_log(LOG_ERR, "Dumping Obligations AOS\n");
339      aos_dump_argslist(&list_obligations, size_obligations);
340      return EES_SUCCESS;
341    }
342    
343    EES_RC aos_dump_argslist (aos_argument_t **head_node, unsigned int *args_size) {
344      unsigned int i;
345      aos_argument_t * current_arg = *head_node;
346      for(i = 0; i < (*args_size); i++){
347        eef_log(LOG_ERR, "Element %03i - at point %p - label \"%s\" - needs_free %s\n", i, current_arg, current_arg->label, current_arg -> needs_free ? "yes" : "no");
348        eef_log(LOG_ERR, "            - type %d - \"%s\"", current_arg -> type,  current_arg -> type == TYPE_STRING ? (char *) current_arg -> data : "non-string data");
349        current_arg = current_arg->next;
350      }
351      return EES_SUCCESS;
352    }
353    

Legend:
Removed from v.1306  
changed lines
  Added in v.1307

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28