[Linux-HA] Re: Swig bindings in heartbeat config/build

forrest whitcher forrestw at gmail.com
Mon Mar 21 15:11:02 MST 2005


Lars,

Ok. so the bindings exist only for low-level functions, now that I've
kicked the tires
some on using the API, (have a service and clients connecting to
heartbeat and sending
intelligible messages) .. A few things are clearer.

Mostly I would not want to try to implement from the cl-plumbing layer.

However the API is clearly tightly bound to Glib2 for the use of
'mainloop'. Glib::MainLoop
is available through CPAN, but I'm not clear how feasible it's going
to be to use swig to
export something that depends so heavily on a CPAN module.

Can you cite any thoughts why this will (or will not) be feasible? --
If it's going to take
more than a week's work then I'd probably have to just stick with C.

Thanks if you have any thoughts

fw

On Mon, 14 Mar 2005 23:16:04 +0100, Lars Marowsky-Bree <lmb at suse.de> wrote:
> On 2005-03-14T14:26:40, forrest whitcher <forrestw at gmail.com> wrote:
> > swig, nor done meaningful perl xs work in many years this I'll have
> > to roll up the sleeves to get started on that.
> 
> It's appreciated. I did the original bindings for SWIG, but they
> probably don't work too well with the recent code.
> 
> Having 1.99.x / 2.x with more recent bindings would certainly be great.
> 
> Sincerely,
>     Lars Marowsky-Brée <lmb at suse.de>
> 
> --
> High Availability & Clustering
> SUSE Labs, Research and Development
> SUSE LINUX Products GmbH - A Novell Business
> 
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>


More information about the Linux-HA mailing list