[rrd-users] rrd function in C programming

2008-07-21 Thread zhuxl
Hi everyone,
I am really breaking my neck trying to figure out how to call rrd 
functions in C programs (i do not want to fork a process and exelc the 
script by the way). Unfortunately not so many materials are available. I 
found in the oetiker website that some wrap functions (such as 
wrap_rrd_create() can be used in C. I tried this, but problems arise as I 
want to compile my program. I think i did something wrong while linking, 
etc. But i am not sure about how to compile it, either the library path. 
Can anyone please help me with this? 

Thanks a lot!

Shirley___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] rrd function in C programming

2008-07-21 Thread Andreas Maus
On Mon, Jul 21, 2008 at 05:14:32PM +0800, [EMAIL PROTECTED] wrote:
 Hi everyone,
 I am really breaking my neck trying to figure out how to call rrd 
 functions in C programs (i do not want to fork a process and exelc the 
 script by the way). Unfortunately not so many materials are available. I 
 found in the oetiker website that some wrap functions (such as 
 wrap_rrd_create() can be used in C. I tried this, but problems arise as I 
 want to compile my program. I think i did something wrong while linking, 
 etc. But i am not sure about how to compile it, either the library path. 
 Can anyone please help me with this? 
Hi Shirley.

The API is defined in rrd.h and for most functions
they accept the same arguments as the command line
call.

What problems do you have while compiling ?
Can you be a more specific and send the errors
you got? Without the error messages no one can help you.

HTH,

Andreas.

-- 
Dipl.-Ing. Andreas Maus science+computing ag
System Administration   Hagellocher Weg 73
tel.: +49 7071 9457 671 72070 Tuebingen, Germany
fax: +49 7071 9457 411  www.science-computing.de


pgpcDF9nuzC2u.pgp
Description: PGP signature
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users