|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T d
Length: 1915 (0x77b)
Types: TextFile
Names: »dish.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/Chans/dirlist/dish.c«
/* dish.c: */
# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Chans/dirlist/RCS/dish.c,v 5.0 90/09/20 15:45:26 pp Exp Locker: pp $";
# endif
/*
* $Header: /cs/research/pp/hubris/pp-beta/Chans/dirlist/RCS/dish.c,v 5.0 90/09/20 15:45:26 pp Exp Locker: pp $
*
* $Log: dish.c,v $
* Revision 5.0 90/09/20 15:45:26 pp
* rcsforce : 5.0 public release
*
*/
#ifdef PP
#include <isode/manifest.h>
#include <isode/quipu/util.h>
#else
#include "manifest.h"
#include "quipu/util.h"
#endif
/*
OPTIONS...
PP: Build a version of dish with the PP enhancements.
Needs libpp.a and libdl.a from PP (PP 4.2 and above).
Made automatically in PP/Tools/dlist.
SECURITY: Build in the security syntaxes.
MANAGE: Build a management version of Dish.
Needs libmanage.a from ISODE/others/quipu/uips/manage
Made automatically in ISODE/others/quipu/uips/manage.
*/
#ifdef MANAGE
IFP call_add_alias ();
IFP call_del_alias ();
#endif
#ifdef PP
IFP call_dlist ();
IFP call_ufn ();
#endif
main (argc, argv)
int argc;
char **argv;
{
quipu_syntaxes ();
#ifdef PP
pp_quipu_init (argv[0]);
#endif
#ifdef SECURITY
revoke_syntax();
#endif
dish_init (argc,argv);
#ifdef PP
pp_quipu_run ();
add_dish_command ("lmnpq", call_dlist, 2);
add_dish_help ("lmnpq", "[-dncheck] [-orcheck] [-orupdate] [-check] [-update]",
FALSE, FALSE,
"List Manager Now using PP and Quipu,");
#endif
#ifdef MANAGE
add_dish_command ("add_alias", call_add_alias, 5);
add_dish_help ("add_alias", "[-flags]", FALSE, FALSE,
"add an alias entry,");
add_dish_command ("del_alias", call_del_alias, 5);
add_dish_help ("del_alias", "[-flags]", FALSE, FALSE,
"delete an alias entry,");
#endif
add_dish_help ("quit","", FALSE, FALSE, "Quit the program.");
add_dish_help (NULLCP,NULLCP,0,0,NULLCP);
do_dish ();
}