57 for (v = data->getDependencies (); v != NULL; v = (vector *) v->getNext ()) {
58 if (v->getSize () != v->getRequested ()) {
60 "%d have been stated\n", v->getName (), v->getSize (),
67 for (v = data->getVariables (); v != NULL; v = (vector *) v->getNext ()) {
68 strlist *
s = v->getDependencies ();
70 if (s == NULL || s->length () == 0) {
72 "dependencies\n", v->getName ());
79 for (strlistiterator it (s); *it; ++it) {
80 if ((d = data->findDependency (*it)) == NULL) {
82 "stated in `%s'\n", *it, v->getName ());
90 if (v->getSize () % n != 0) {
92 "be dividable by %d\n", v->getName (), v->getSize (),
n);
99 return errors ? -1 : 0;
int dataset_check(dataset *data)
void logprint(int level, const char *format,...)