{
CONF_ITEM *ci;
+ if (!cs) return NULL;
+
/*
* If pair is NULL this must be a first time run
* Find the pair with correct name
{
CONF_ITEM *ci;
+ if (!section) return NULL;
+
/*
* If subsection is NULL this must be a first time run
* Find the subsection with correct name
CONF_SECTION *subsection,
const char *name1)
{
+ if (!section) return NULL;
+
if (!section->item.parent) return NULL;
return cf_subsection_find_next(section->item.parent, subsection, name1);
CONF_ITEM *cf_item_find_next(CONF_SECTION *section, CONF_ITEM *item)
{
+ if (!section) return NULL;
+
/*
* If item is NULL this must be a first time run
* Return the first item