From: <da...@us...> - 2002-08-30 00:40:40
|
Update of /cvsroot/cerber/cerb-ng In directory usw-pr-cvs1:/tmp/cvs-serv28005 Modified Files: README.developers.pl Log Message: - Added cerb_globals.h with global #defines, typedefs, etc. (added cerb_globals.h entry to Makefile and #include to: cerb_action.c cerb_action.c cerb_action.h cerb_rules.c cerb_rules.h cerb_urules.c as well). - Added uprintf()s to operation functions in cerb_actions.c and added #include <libkern.h> to this file, but this is only needed for uprintf(), so remove it latter (there is adequate comment after this #include). - Moved *tcb_op[] declaration from cerb_actions.c to cerb_actions.h. - Created and used typedef dcb_op_t instead of: struct scb_val *(*fun) __P((struct proc *, struct scb_val *)) - Removed v_size field from struct scb_val - this is not needed any more. - Changed type of v_val from void * to register_t - this change will save me much work. - Added declaration of tab with cerb registers to cerb_rules.c. - Finished implementing function to fill rule (to export fields from userspace rules to kernel rules) in cerb_urules.c (function fcb_rule_fill()), but many tests needed. - Added note to README.developers about naming typedefs. Index: README.developers.pl =================================================================== RCS file: /cvsroot/cerber/cerb-ng/README.developers.pl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README.developers.pl 29 Aug 2002 09:39:25 -0000 1.3 --- README.developers.pl 30 Aug 2002 00:40:35 -0000 1.4 *************** *** 76,79 **** --- 76,80 ---- - nazwy struktury zaczynaj± siê od 'scb_', - nazwy tablic zaczynaj± siê od 'tcb_', + - nazwy typedef'ów zaczynaj± siê od 'dcb_' i dla porz±dku koñcz± siê na '_t', - zmienne przechowuj±ce sysctl'e zaczynaj± siê od 'ccb_', - globalne zmienne powinny zaczynaæ siê od 'vcb_', |