|
|
1.1 root 1: #ifdef PP
2: #include <isode/manifest.h>
3: #include <isode/quipu/util.h>
4: #else
5: #include "manifest.h"
6: #include "quipu/util.h"
7: #endif
8:
9: /*
10: OPTIONS...
11:
12: PP: Build a version of dish with the PP enhancements.
13: Needs libpp.a and libdl.a from PP (PP 4.2 and above).
14: Made automatically in PP/Tools/dlist.
15:
16: MANAGE: Build a management version of Dish.
17: Needs libmanage.a from ISODE/others/quipu/uips/manage
18: Made automatically in ISODE/others/quipu/uips/manage.
19:
20:
21: */
22:
23: #ifdef MANAGE
24: IFP call_add_alias ();
25: IFP call_del_alias ();
26: #endif
27:
28: #ifdef PP
29: IFP call_dlist ();
30: #endif
31:
32: main (argc, argv)
33: int argc;
34: char **argv;
35: {
36:
37: quipu_syntaxes ();
38:
39: revoke_syntax();
40:
41: #ifdef PP
42: pp_quipu_init (argv[0]);
43: #endif
44:
45: dish_init (argc,argv);
46:
47: #ifdef PP
48: pp_quipu_run ();
49:
50: add_dish_command ("lmnpq", call_dlist, 2);
51: add_dish_help ("lmnpq", "[-dncheck] [-orcheck] [-orupdate] [-check] [-update]",
52: FALSE, FALSE,
53: "List Manager Now using PP and Quipu,");
54: #endif
55:
56: #ifdef MANAGE
57: add_dish_command ("add_alias", call_add_alias, 5);
58: add_dish_help ("add_alias", "[-flags]", FALSE, FALSE,
59: "add an alias entry,");
60: add_dish_command ("del_alias", call_del_alias, 5);
61: add_dish_help ("del_alias", "[-flags]", FALSE, FALSE,
62: "delete an alias entry,");
63: #endif
64:
65: add_dish_help ("quit","", FALSE, FALSE, "Quit the program.");
66: add_dish_help (NULLCP,NULLCP,0,0,NULLCP);
67:
68: do_dish ();
69: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.