]> git.tue.mpg.de Git - paraslash.git/commitdiff
command_util: Generate properly documented command header files.
authorAndre Noll <maan@systemlinux.org>
Sat, 4 Jul 2009 19:12:22 +0000 (21:12 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 4 Jul 2009 19:12:22 +0000 (21:12 +0200)
command_util.sh

index 44b4ee1856e5eee158b7d108a171abf5077712a7..a735d3c247204ff409804594446a38c3071a0d24 100755 (executable)
@@ -204,7 +204,11 @@ dump_proto()
        echo '/**'
        echo " * $desc_txt"
        echo ' *'
-       echo ' * \param rc4c The rc4 crypt context.'
+       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
        if test $line_handler -eq 0; then
                echo ' * \param argc The number of arguments.'
                echo ' * \param argv The argument vector.'