bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Re: Argpifying ping.


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] Re: Argpifying ping.
Date: Thu, 5 Apr 2007 18:42:59 +0200 (CEST)

   > Possibly, the wrapper function could even be provided by gnulib,
   > to avoid duplicating the code for the wrapper function.

   Given that the wrapper or hook can only accept a FILE pointer and a
   argp_state pointer as arguments, I do not see how this is possible
   because the wrapper needs to provide version-etc all the necessary
   information like: program name, copyright date, author(s), etc..

I'm not sure I follow...  It would be trivial to add this to gnulib,
have a couple of macros that the user can define for the program name
etc, or have the hook call another function that sets some global
variables to the correct values (if one dislikes using macros).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]