[Gluster-devel] XDR RPC Spec
chris holcombe
chris.holcombe at canonical.com
Fri May 20 15:58:25 UTC 2016
Hey Gluster Devs!
This email is in reference to bug reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=1336889. I'm trying to
generate XDR Gluster bindings in Rust. The XDR generation utility I'm
using closely follows the XDR RPC spec. The problem that I'm running
into is that the .x files that Gluster has in the repo don't follow the
rpc spec and have both some undefined and non standard fields that
prevent anything from being generated. The bug report goes into exactly
what the problems are. For the moment I've just commented them out but
that leaves me with a library that only partially works. As a community
if we would like to increase adoption of Gluster I think it would be
good if other languages could produce bindings in their native language
without needing to use the C libraries. If I'm writing code in Java or
Rust or (name your language here) and I see a Gluster library that is
pure I'll take that over a library that is just C bindings. I don't
know the path forward to correcting these .x file problems because I
don't know the fallout of changing them. ndevos suggested it might be
best to email the developers and ask for help :)
Thanks!
Chris
More information about the Gluster-devel
mailing list