X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/03f996bd8a0d6391518979cdab3dbe38cba0bf83..c758e6541ca05409b178dd9629e9337494c49890:/src/rule.h diff --git a/src/rule.h b/src/rule.h index 8ce7ea2..fb6f816 100644 --- a/src/rule.h +++ b/src/rule.h @@ -1,10 +1,10 @@ /* -*-c-*- * - * $Id: rule.h,v 1.2 1997/08/04 10:24:25 mdw Exp $ + * $Id: rule.h,v 1.5 1998/01/12 16:46:26 mdw Exp $ * * Managing rule sets * - * (c) 1997 EBI + * (c) 1998 EBI */ /*----- Licensing notice --------------------------------------------------* @@ -29,6 +29,15 @@ /*----- Revision history --------------------------------------------------* * * $Log: rule.h,v $ + * Revision 1.5 1998/01/12 16:46:26 mdw + * Fix copyright date. + * + * Revision 1.4 1997/09/17 10:27:17 mdw + * Use rewritten class handler. + * + * Revision 1.3 1997/08/20 16:22:49 mdw + * Rename `rule_reinit' to `rule_end' for more sensible restart. + * * Revision 1.2 1997/08/04 10:24:25 mdw * Sources placed under CVS control. * @@ -72,31 +81,31 @@ extern void rule_init(void); -/* --- @rule_reinit@ --- * +/* --- @rule_end@ --- * * * Arguments: --- * * Returns: --- * - * Use: Reinitialises the rule database. + * Use: Empties the rule database. */ -extern void rule_reinit(void); +extern void rule_end(void); /* --- @rule_add@ --- * * - * Arguments: @classdef *host@ = class of hosts this rule applies to - * @classdef *from@ = class of users allowed to change - * @classdef *to@ = class of users allowed to be changed to - * @classdef *cmd@ = class of commands allowed + * Arguments: @class_node *host@ = class of hosts this rule applies to + * @class_node *from@ = class of users allowed to change + * @class_node *to@ = class of users allowed to be changed to + * @class_node *cmd@ = class of commands allowed * * Returns: --- * * Use: Registers another rule. */ -extern void rule_add(classdef */*host*/, classdef */*from*/, - classdef */*to*/, classdef */*cmd*/); +extern void rule_add(class_node */*host*/, class_node */*from*/, + class_node */*to*/, class_node */*cmd*/); /* --- @rule_check@ --- * *