[rrd-developers] Re: Developing against librrd

David Olsen lude at linuxpimpz.com
Wed Jan 22 22:06:56 MET 2003


On 2003-01-22-16:05:40, Milan Obuch <milan.obuch at in.nextra.sk> wrote:
> Hi, David,
> 
> Is it correct? Just guessing - &args[1] looks a bit strange to me - I would 
> try args + 1. Where did you excerpt it from/where did You find an example You 
> build this after?
> 
> Regards
> Milan

Straight from rrd_tool.c in Tobi's code.

<snip>
    if (strcmp("create", argv[1]) == 0)
    rrd_create(argc-1, &argv[1]); 
    else if (strcmp("dump", argv[1]) == 0)
    rrd_dump(argc-1, &argv[1]);
</snip>

Best Regards, 

David Olsen
ISPrime, Inc.
866.502.4678 ext. 87
AIM: Dave ISPrime - ICQ: 136633378

--
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