>>> On 11/2/2009 at 9:00 PM, in message <007e01ca5c3a$2ded5eb0$89c81c...@com>,
"Sylvester Steele" <sylvesterste...@gmail.com> wrote:
> Hi Folks,
> 
> I want to develop a C++ DSO for ganglia. While I did see a bit of
> documentation for a python based thing, I haven't seen much for a C++ DSO.
> So where should I begin if I want to develop a C++ DSO?
> 
> Also, How do I search the mailing list archive?
> 
> Thanks,
> Sylvester

Since gmond is built on top of the APR (Apache Portable Runtime) and the fact 
that the ganglia modules were patterned after apache modules, building a 
ganglia module in C++ should be very similar to building an Apache module in 
C++.  You could probably start by looking at 
http://marc.info/?l=apache-modules&m=115406581404410&w=2 and there should be a 
lot more information about building Apache modules in C++.  Bottomline is that 
you would need to put extern C {} around the module structure.  Keep in mind 
that as you find information about how to build an apache module in C++, 
Ganglia modules are much simpler than Apache modules so you wouldn't have to 
worry about the hooks or anything else like that in a ganglia module.

Brad


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to