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.. Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ bug-inetutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-inetutils
