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