more tunable work

This commit is contained in:
Chris PeBenito 2005-06-07 22:26:39 +00:00
parent 758618b1f3
commit ddea18b0ad

View File

@ -42,6 +42,28 @@ define(`optional_policy',`
') ')
') ')
##############################
#
# Determine if we should use the default
# tunable value as specified by the policy
# or if the override value should be used
#
define(`deflt_or_overr',`ifdef(`$1',$1,$2)')
##############################
#
# Tunable declaration
#
define(`tunable_def',`
ifdef(`monolithic_policy',`
bool $1 deflt_or_overr(`$1'_conf,$2);
',`
# loadable module tunable
# declaration will go here
# for $1 $2
')
')
############################## ##############################
# #
# Tunable policy handling # Tunable policy handling