aboutsummaryrefslogtreecommitdiffstats
path: root/ipsec-to-dns
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-05-27 16:53:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-06-08 21:07:24 +0200
commit7a43bfbc6abc811be42ae9d314c37ffb4c695ea2 (patch)
tree42ec7e85c951b8862cf0b7252b822b77fc4ebb28 /ipsec-to-dns
parentb866eca3eca714e60bb1b23887717e88dd9d66e8 (diff)
global-functions: make notification functions extensible
This allows to add notification functions without overloading functions. Just add it into the array: :set ($NotificationFunctions->"fancy-messager") do={ # notification magic here... } Adding functions $SendFancyMessager and/or $SendFancyMessager2 may be useful. Optionally a function to flush a queue may be required. A BIG FAT WARNING about function parameters: Calling a function from array results in $0 for the function name being skipped. That's why we have to add the function name manually!
Diffstat (limited to 'ipsec-to-dns')
0 files changed, 0 insertions, 0 deletions