Added preliminary explanation for provider functions

This commit is contained in:
Lenard Hess 2023-07-10 21:48:27 +02:00 committed by Reuben Thomas
parent 6c1f9632fa
commit 17fd6ec083

View file

@ -3696,6 +3696,25 @@ sub header_ok {
} }
return $ok; return $ok;
} }
######################################################################
## DDNS providers
# A DDNS provider consists of an example function, the update
# function, and an optional updateable function.
#
# The example function simply returns a string for the help message,
# explaining how to configure the provider
#
# The update function performs the actual record update.
# It receives an array of hosts as its argument.
#
# The updateable function allows a provider implementation to force
# an update even if ddclient has itself determined no update is
# necessary. The function shall return 1 if an update should be
# performed, else 0.
######################################################################
###################################################################### ######################################################################
## nic_dyndns1_examples ## nic_dyndns1_examples
###################################################################### ######################################################################