add interface macro
This commit is contained in:
parent
b46609f09f
commit
a9ec5414d1
@ -26,6 +26,19 @@ define(`requires_block_template',`
|
|||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
|
##############################
|
||||||
|
#
|
||||||
|
# In the future interfaces could be in loadable modules
|
||||||
|
#
|
||||||
|
# module_interface(name,rules)
|
||||||
|
#
|
||||||
|
define(`module_interface',`
|
||||||
|
define(`$1',`
|
||||||
|
requires_block_template(`$1'_depend)
|
||||||
|
$2
|
||||||
|
')
|
||||||
|
')
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
#
|
#
|
||||||
# Optional policy handling
|
# Optional policy handling
|
||||||
|
Loading…
Reference in New Issue
Block a user