All of lore.kernel.org
 help / color / mirror / Atom feed
* XDR print?
@ 2009-12-07  0:39 Colin McCabe
  2009-12-07  1:03 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Colin McCabe @ 2009-12-07  0:39 UTC (permalink / raw)
  To: Project Hail List

I'm wondering if there's a function that will take a buffer full of
XDR data and an xdrproc_t, and print out a human readable version of
the data.
It seems like an obvious debugging tool, but I can't find a reference
to anything like this in the XDR docs.

I guess the obvious workaround is to deserialize the data into a
struct and manually print out all the fields of the struct. But it
seems like since we've gone through the trouble of describing
everything in XDR, there should be an auto-printer.

cheers,
Colin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-07  1:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07  0:39 XDR print? Colin McCabe
2009-12-07  1:03 ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.