/* Fill in: 1. projection segments 2. projection segment slices declsize 3. selection path */ NCerror qualifyconstraints3(DCEconstraint* constraint) { NCerror ncstat = NC_NOERR; int i; #ifdef DEBUG fprintf(stderr,"qualifyconstraints.before: %s\n", dumpconstraint(constraint)); #endif if(constraint != NULL) { for(i=0;i<nclistlength(constraint->projections);i++) { DCEprojection* p = (DCEprojection*)nclistget(constraint->projections,i); ncstat = qualifyprojectionnames3(p); ncstat = qualifyprojectionsizes3(p); } #ifdef IGNORE for(i=0;i<nclistlength(constraint->selections);i++) { DCEselection* s = (DCEselection*)nclistget(constraint->selections,i); ncstat = qualifyselectionnames3(s); } #endif } #ifdef DEBUG fprintf(stderr,"qualifyconstraints.after: %s\n", dumpconstraint(constraint)); #endif return ncstat; }
/* Fill in: 1. projection segments 2. projection segment slices declsize 3. selection path */ static NCerror qualifyconstraints3(DCEconstraint* constraint) { NCerror ncstat = NC_NOERR; int i; if(constraint != NULL) { for(i=0;i<nclistlength(constraint->projections);i++) { DCEprojection* p = (DCEprojection*)nclistget(constraint->projections,i); ncstat = qualifyprojectionnames3(p); ncstat = qualifyprojectionsizes3(p); } for(i=0;i<nclistlength(constraint->selections);i++) { DCEselection* s = (DCEselection*)nclistget(constraint->selections,i); ncstat = qualifyselectionnames3(s); } } return ncstat; }