~mdw
/
become
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename `rule_reinit' to `rule_end' for more sensible restart.
[become]
/
src
/
rule.h
diff --git
a/src/rule.h
b/src/rule.h
index
7e337f6
..
6b4556b
100644
(file)
--- a/
src/rule.h
+++ b/
src/rule.h
@@
-1,13
+1,13
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: rule.h,v 1.
1 1997/07/21 13:47:45
mdw Exp $
+ * $Id: rule.h,v 1.
3 1997/08/20 16:22:49
mdw Exp $
*
* Managing rule sets
*
* (c) 1997 EBI
*/
*
* Managing rule sets
*
* (c) 1997 EBI
*/
-/*----- Licen
c
ing notice --------------------------------------------------*
+/*----- Licen
s
ing notice --------------------------------------------------*
*
* This file is part of `become'
*
*
* This file is part of `become'
*
@@
-22,14
+22,20
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with `become'; if not, write to the Free Software
- *
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139
, USA.
+ * along with `become'; if not, write to the Free Software
Foundation,
+ *
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307
, USA.
*/
/*----- Revision history --------------------------------------------------*
*
* $Log: rule.h,v $
*/
/*----- Revision history --------------------------------------------------*
*
* $Log: rule.h,v $
- * Revision 1.1 1997/07/21 13:47:45 mdw
+ * 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.
+ *
+ * Revision 1.1 1997/07/21 13:47:45 mdw
* Initial revision
*
*/
* Initial revision
*
*/
@@
-69,16
+75,16
@@
extern void rule_init(void);
extern void rule_init(void);
-/* --- @rule_
reinit
@ --- *
+/* --- @rule_
end
@ --- *
*
* Arguments: ---
*
* Returns: ---
*
*
* Arguments: ---
*
* Returns: ---
*
- * Use:
Reinitialis
es the rule database.
+ * Use:
Empti
es the rule database.
*/
*/
-extern void rule_
reinit
(void);
+extern void rule_
end
(void);
/* --- @rule_add@ --- *
*
/* --- @rule_add@ --- *
*
@@
-106,6
+112,17
@@
extern void rule_add(classdef */*host*/, classdef */*from*/,
extern int rule_check(request */*r*/);
extern int rule_check(request */*r*/);
+/* --- @rule_dump@ --- *
+ *
+ * Arguments: ---
+ *
+ * Returns: ---
+ *
+ * Use: Dumps a map of the current ruleset to the trace output.
+ */
+
+extern void rule_dump(void);
+
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus