tech-userlevel archive

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

Re: xdrproc_t prototype



On Thu, 25 Aug 2011, David Holland wrote:

> On Wed, Aug 24, 2011 at 04:54:52PM +0100, Iain Hibbert wrote:
>  > Ok I will investigate non-vararg prototype for xdrproc_t
>  >
>  > So far I only found one place where an xdrproc_t was called, which was
>  > using two arguments, so (XDR *, const char *) would work fine. I don't
>  > know what the point of providing a function with three args would be,
>  > unless it is possible to replace the handler that does the callback.
>
> welcome to sunrpc :(
>
> If you can figure out how to make it fit together without function
> pointer casts, please do.

I think the problem there would be that the prototypes of common functions
are documented, so changing that is rewriting the whole API, a whole other
deal.

iain


Home | Main Index | Thread Index | Old Index