+dump_proto()
+{
+ local source_file match=""
+
+ echo '/**'
+ echo " * $desc_txt"
+ echo ' *'
+ if [[ "$system_includes" =~ openssl/rc4.h ]]; then
+ echo ' * \param rc4c The rc4 crypt context.'
+ else
+ echo ' * \param fd The file descriptor to send output to.'
+ fi
+ echo ' * \param argc The number of arguments.'
+ echo ' * \param argv The argument vector.'
+ echo ' * '
+ echo " * Usage: $usage_txt"
+ echo ' * '
+ echo "$help_txt" | sed -e 's/^/ * /g'
+ echo ' */'
+ if test -n "$prototype"; then
+ echo "$prototype"
+ echo
+ return
+ fi
+ for source_file in $source_files; do
+ match=$(grep "^\(__noreturn \)*int com_$name_txt(" $source_file | head -n 1 | sed -e 's/$/;/1')
+ if test -n "$match"; then
+ echo "$match"
+ break
+ fi
+ done
+ echo
+}
+
+dump_array_member()
+{
+ echo '{'
+ echo ".name = \"$name_txt\","
+ echo ".handler = com_$name_txt,"
+ if test -n "$perms_txt"; then
+ echo ".perms = $perms_txt,"
+ fi
+ echo ".description = \"$desc_txt\","
+ echo ".usage = \"$usage_txt\","
+ echo ".help = "
+ printf "%s\n" "$help_txt" | sed -e 's/^/\"/g' -e 's/$/\\n\"/g'
+ echo '},'
+}
+
+
+template_loop()