Changeset 13603 for trunk/ppStats/src/ppStatsSetupFromRecipe.c
- Timestamp:
- Jun 3, 2007, 4:19:51 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsSetupFromRecipe.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsSetupFromRecipe.c
r13594 r13603 13 13 14 14 // Strings in a recipe may be defined multiply (with MULTI) or listed on a single line 15 static void listFromRecipe(ps Metadata *recipe, // Recipe to search16 const char *name, // Name for item within recipe 17 psList *target // The target list15 static void listFromRecipe(psList *target, // The target list 16 const psMetadata *recipe, // Recipe to search 17 const char *name // Name for item within recipe 18 18 ) 19 19 { … … 81 81 } 82 82 83 listFromRecipe(recipe, "CHIP", data->chips); 84 listFromRecipe(recipe, "CELL", data->cells); 85 listFromRecipe(recipe, "HEADER", data->headers); 86 listFromRecipe(recipe, "CONCEPT", data->concepts); 83 listFromRecipe(data->chips, recipe, "CHIP"); 84 listFromRecipe(data->cells, recipe, "CELL"); 85 listFromRecipe(data->headers, recipe, "HEADER"); 86 listFromRecipe(data->concepts, recipe, "CONCEPT"); 87 88 // Parse SUMMARY statistics information 89 listFromRecipe(data->summary, recipe, "SUMMARY"); 87 90 88 91 // Parse the statistics options 89 92 psList *recipeStats = psListAlloc(NULL); // List of statistics options 90 listFromRecipe(recipe, "STAT", recipeStats); 93 listFromRecipe(recipeStats, recipe, "STAT"); 94 95 // validate STATs choices 91 96 if (psListLength(recipeStats) > 0) { 92 97 psListIterator *iterator = psListIteratorAlloc(recipeStats, PS_LIST_HEAD, false);
Note:
See TracChangeset
for help on using the changeset viewer.
