openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/rsconf.c
static rsRetVal regBuildInModule(rsRetVal (*modInit)(), uchar* name,
                                 void* pModHdlr)
{
    cfgmodules_etry_t* pNew;
    cfgmodules_etry_t* pLast;
    modInfo_t* pMod;
    DEFiRet;
    CHKiRet(module.doModInit(modInit, name, pModHdlr, &pMod));
    readyModForCnf(pMod, &pNew, &pLast);
    addModToCnfList(&pNew, pLast);
finalize_it:
    RETiRet;
}
/* "load" a build in module and register it for the current load config */
"load" a build in module and register it for the current load config
" load " a build in module and register it for the current load config
static rsRetVal regBuildInModule(rsRetVal (*modInit)(), uchar* name,
                                 void* pModHdlr)
{
    cfgmodules_etry_t* pNew;
    cfgmodules_etry_t* pLast;
    modInfo_t* pMod;
    DEFiRet;
    CHKiRet(module.doModInit(modInit, name, pModHdlr, &pMod));
    readyModForCnf(pMod, &pNew, &pLast);
    addModToCnfList(&pNew, pLast);
finalize_it:
    RETiRet;
}
static rsRetVal regBuildInModule ( rsRetVal ( * modInit ) ( ) , uchar * name , void * pModHdlr ) { cfgmodules_etry_t * pNew ; cfgmodules_etry_t * pLast ; modInfo_t * pMod ; DEFiRet ; CHKiRet ( module . doModInit ( modInit , name , pModHdlr , & pMod ) ) ; readyModForCnf ( pMod , & pNew , & pLast ) ; addModToCnfList ( & pNew , pLast ) ; finalize_it : RETiRet ; }
"load" a build in module and register it for the current load config
" load " a build in module and register it for the current load config