--- a/src/server/config/serverconfig.h Sat Nov 22 16:44:42 2025 +0100 +++ b/src/server/config/serverconfig.h Sun Nov 23 12:44:59 2025 +0100 @@ -180,6 +180,11 @@ */ cxstring serverconfig_directive_get_arg(ConfigNode *directive, cxstring param_name); +/* + * Returns the number of directive arguments + */ +int serverconfig_directive_count_args(ConfigNode *dir); + /* * Checks if the directive name matches any string in the names array.