[rrd-developers] Re: integrating rrdtool source into c++ program(windows nt)

Matt Zimmerman mdz at debian.org
Sat Apr 28 01:21:24 MEST 2001


On Fri, Apr 27, 2001 at 09:43:39AM +0200, Edwyn Stapel (ELN) wrote:

> just had an question on how to integrate the rrdtool in c++ i'm using the
> tool now through executing the rrdtool.exe in my c++ program, but is it
> possible or is there an example on how to integrate the source in to c++
> program?

You can simply link your program against librrd, and use the routines declared
in rrd.h.  They are already wrapped in extern "C" when appropriate.  Look at
the rrdtool source itself for examples.

-- 
 - mdz

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list