AT:)
array_type="$value"
;;
+ SI:)
+ for i in $value; do
+ system_includes="$system_includes
+#include <$i.h>"
+ done
+ ;;
IN:)
for i in $value; do
includes="$includes
local t_name_txt=$(echo $name_txt | $sed_cmd)
echo ".SS \"$t_name_txt\""
done
- echo "$desc_txt"
+ echo "$desc_txt" | sed -e "s/@member@/{$(echo $template_members | sed -e 's/ / | /g')}/g"
echo
echo "\\fBUsage: \\fP"
echo
echo '/**'
echo " * $desc_txt"
echo ' *'
- echo ' * \param fd The file descriptor to send output to.'
+ echo ' * \param rc4c The rc4 crypt context.'
if test $line_handler -eq 0; then
echo ' * \param argc The number of arguments.'
echo ' * \param argv The argument vector.'
perms_txt=$(echo $t_perms | $sed_cmd)
desc_txt=$(echo $t_desc | $sed_cmd)
usage_txt=$(echo $t_usage | $sed_cmd)
- help_txt=$(printf "%s" "$t_help" | $sed_cmd)
+ help_txt=$(printf "%s\n" "$t_help" | $sed_cmd)
prototype=$(echo "$template_prototype" | $sed_cmd)
$1
done
com_c_file()
{
echo "/** \file $output_file.c $c_file_comment */"
+ echo "$system_includes"
echo "$includes"
echo "struct $array_type $array_name[] = {"
while : ; do