2 * Copyright (C) 1994, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.2 1994-08-18 10:02:01 adam
8 * Module alexpath moved from res.c to alexpath.c. Minor changes in res-test.c
10 * Revision 1.1 1994/08/18 09:43:51 adam
11 * Development of resource manager. Only missing is res_write.
18 static void res_print (const char *name, const char *value)
20 log (LOG_LOG, "%s=%s", name, value);
23 int main(int argc, char **argv)
32 log_init (LOG_DEFAULT_LEVEL, prog, NULL);
33 while ((ret = options ("p:v", argv, argc, &arg)) != -2)
37 log_init (LOG_ALL, prog, NULL);
42 log (LOG_FATAL, "unknown option");
47 log (LOG_FATAL, "Now resource file given.");
50 res = res_open (resfile);
51 res_trav (res, prefix, res_print);