[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Feature: Grouped Non-green view
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Feature: Grouped Non-green view
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Wed, 8 Dec 2010 16:35:12 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <idnpqb$qvu$1 (at) voodoo.hswn.dk> <AANLkTi=jrkDGhdhGaLFg5ut9QtvXKu46UfeRmpqe4ky9 (at) mail.gmail.com> <idncb1$egn$1 (at) voodoo.hswn.dk> <4CFF6643.1060308 (at) free.fr> <idnpqb$qvu$1 (at) voodoo.hswn.dk> <AANLkTikrx=O_XGOhrhND8FwLjYgs02-Ei0JUX9u46kzj (at) mail.gmail.com>
- User-agent: nn/6.7.3
In <AANLkTikrx=O_XGOhrhND8FwLjYgs02-Ei0JUX9u46kzj (at) mail.gmail.com> Chris Wopat <me (at) falz.net> writes:
>I'm still curious what those two code snippets are for? Again they
>were in bbdisplay/pagegen.c:
> bb2page.subpages = NULL;
> bb2page.groups = NULL;
Inside xymongen (bbgen), it's the same code that is used to generate
the normal pages, the nongreen page and the old "NK" page. So this
is simply a necessary initialisation since the nongreen/bb2 page
doesn't have any subpages or groups.
If you would like an explanation of what this datastructure looks
like inside xymongen, then have a look at the xymongen/xymongen.h
file (bbdisplay/bbgen.h in 4.2.3) - there's a rather large comment
at the top describing how the internal datastructure is.
Regards,
Henrik