botsense/bsProxy/bsProxyMod.c
static void ModDllInit(DListStr_T *pDListLibPath)
{
  DListStrIter_T  iter;
  char           *sLibPath;
  char           *sPath;

  BsModDllPaths = DListStrNewDft();

  // Add command-line -L paths here
  for(sLibPath=DListStrIterDataFirst(pDListLibPath, &iter);
      sLibPath!=NULL;
      sLibPath=DListStrIterDataNext(&iter))
  {
    // canonicalize path name
    if( (sPath = NewSearchPathCanonicalized(sLibPath)) == NULL )
    {
      LOGDIAG2("Warning: \"%s\": Ignoring bad library path.", sLibPath);
    }
    else
    {
      DListStrAppend(BsModDllPaths, sPath);
    }
  }

  // RDK add xml config paths here

  // RDK add user's home/botsense/libs path here
 
  // Add installed prefix/lib/botsense/ path.
  if( (sPath = NewJoinedPath(BS_AUX_LIBDIR, BS_PLUGIN_DIR)) != NULL )
  {
    DListStrAppend(BsModDllPaths, sPath);
  }
}
/*!
 * Initialize Dynamic Link Loader operating parameters.
 *
 * \param pDListLibPath   List of optional library search paths.
 *
 * For i/f module search path order:
 * \li command-line -L options in order listed
 * \li XML configuration paths
 * \li user's home lib directory if it exists
 * \li \h_botsense library install library path
 * \li default dlopen() locations (system dependent)
 */
Initialize Dynamic Link Loader operating parameters.
\param pDListLibPath   List of optional library search paths.


Initialize Dynamic Link Loader operating parameters . \ param pDListLibPath List of optional library search paths .
static void ModDllInit(DListStr_T *pDListLibPath)
{
  DListStrIter_T  iter;
  char           *sLibPath;
  char           *sPath;
  BsModDllPaths = DListStrNewDft();
  for(sLibPath=DListStrIterDataFirst(pDListLibPath, &iter);
      sLibPath!=NULL;
      sLibPath=DListStrIterDataNext(&iter))
  {
    if( (sPath = NewSearchPathCanonicalized(sLibPath)) == NULL )
    {
      LOGDIAG2("Warning: \"%s\": Ignoring bad library path.", sLibPath);
    }
    else
    {
      DListStrAppend(BsModDllPaths, sPath);
    }
  }
  if( (sPath = NewJoinedPath(BS_AUX_LIBDIR, BS_PLUGIN_DIR)) != NULL )
  {
    DListStrAppend(BsModDllPaths, sPath);
  }
}
static void ModDllInit ( DListStr_T * pDListLibPath ) { DListStrIter_T iter ; char * sLibPath ; char * sPath ; BsModDllPaths = DListStrNewDft ( ) ; for ( sLibPath = DListStrIterDataFirst ( pDListLibPath , & iter ) ; sLibPath != NULL ; sLibPath = DListStrIterDataNext ( & iter ) ) { if ( ( sPath = NewSearchPathCanonicalized ( sLibPath ) ) == NULL ) { LOGDIAG2 ( " \" \" " , sLibPath ) ; } else { DListStrAppend ( BsModDllPaths , sPath ) ; } } if ( ( sPath = NewJoinedPath ( BS_AUX_LIBDIR , BS_PLUGIN_DIR ) ) != NULL ) { DListStrAppend ( BsModDllPaths , sPath ) ; } }
Initialize Dynamic Link Loader operating parameters.
Initialize Dynamic Link Loader operating parameters .
// Add command-line -L paths here // canonicalize path name // RDK add xml config paths here // RDK add user's home/botsense/libs path here // Add installed prefix/lib/botsense/ path.