> 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). _______________________________________________ bug-inetutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-inetutils
