2004-08-05 11:35:09 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "util.h"
|
|
|
|
#include "sched_config.h"
|
2005-01-08 07:44:22 +00:00
|
|
|
#include "sched_util.h"
|
2004-08-05 11:35:09 +00:00
|
|
|
|
|
|
|
int main(int argc, char** argv) {
|
|
|
|
SCHED_CONFIG config;
|
|
|
|
char path[256];
|
|
|
|
int retval;
|
|
|
|
|
2004-12-06 22:41:19 +00:00
|
|
|
retval = config.parse_file(".");
|
|
|
|
if (retval) {
|
|
|
|
fprintf(stderr, "Can't find config.xml; run this in project root dir\n");
|
|
|
|
exit(1);
|
|
|
|
}
|
2004-08-05 11:35:09 +00:00
|
|
|
|
2005-01-02 07:44:40 +00:00
|
|
|
dir_hier_path(argv[1], "", config.uldl_dir_fanout, true, path);
|
2004-12-06 22:41:19 +00:00
|
|
|
printf("path: %s%s\n", config.download_dir, path);
|
2004-08-05 11:35:09 +00:00
|
|
|
}
|
2004-12-08 00:40:19 +00:00
|
|
|
|
2005-01-02 18:29:53 +00:00
|
|
|
const char *BOINC_RCSID_c683969ea8 = "$Id$";
|