Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Classes | Defines | Typedefs | Functions

kLdrDyldFind.c File Reference

#include <k/kLdr.h>
#include "kLdrInternal.h"
Include dependency graph for kLdrDyldFind.c:

Go to the source code of this file.

Classes

struct  KLDRDYLDFINDARGS

Defines

#define KLDRDYLDFIND_ASSERT(expr)   kHlpAssert(expr)
#define KLDRDYLDFIND_STRICT   1

Typedefs

typedef struct KLDRDYLDFINDARGS KLDRDYLDFINDARGS
typedef const KLDRDYLDFINDARGSPCKLDRDYLDFINDARGS
typedef struct KLDRDYLDFINDARGSPKLDRDYLDFINDARGS

Functions

static int kldrDyldFindDoDllSearch (const char *pszName, const char *pszPrefix, const char *pszSuffix, KLDRDYLDSEARCH enmSearch, unsigned fFlags, PPKRDR ppRdr)
static int kldrDyldFindDoExeSearch (const char *pszName, const char *pszPrefix, const char *pszSuffix, KLDRDYLDSEARCH enmSearch, unsigned fFlags, PPKRDR ppRdr)
static int kldrDyldFindEnumeratePath (const char *pszSearchPath, PCKLDRDYLDFINDARGS pArgs)
int kldrDyldFindExistingModule (const char *pszName, const char *pszPrefix, const char *pszSuffix, KLDRDYLDSEARCH enmSearch, unsigned fFlags, PPKLDRDYLDMOD ppMod)
static int kldrDyldFindGetDefaults (KLDRDYLDSEARCH *penmSearch, const char **pszPrefix, const char **pszSuffix, const char *pszName, KU32 fFlags)
int kldrDyldFindInit (void)
static void kldrDyldFindLazyInitAppDir (void)
int kldrDyldFindNewModule (const char *pszName, const char *pszPrefix, const char *pszSuffix, KLDRDYLDSEARCH enmSearch, unsigned fFlags, PPKLDRDYLDMOD ppMod)
static int kldrDyldFindTryOpen (const char *pszFilename, PPKRDR ppRdr)
static int kldrDyldFindTryOpenPath (const char *pchPath, KSIZE cchPath, PCKLDRDYLDFINDARGS pArgs)

Variables

The kLdr search method parameters.
char kLdrDyldExePath [8192]
char kLdrDyldLibraryPath [8192]
char kLdrDyldAppDir [260]
char kLdrDyldDefPrefix [16]
char kLdrDyldDefSuffix [16]
The OS/2 search method parameters.
char kLdrDyldOS2Libpath [2048]
char kLdrDyldOS2LibpathStrict [8]
char kLdrDyldOS2BeginLibpath [2048]
char kLdrDyldOS2EndLibpath [2048]
The Windows search method parameters.
char kLdrDyldWindowsAppDir [260]
char kLdrDyldWindowsSystemDir [260]
char kLdrDyldWindowsDir [260]
char kLdrDyldWindowsPath [8192]
The Common Unix search method parameters.
char kLdrDyldUnixLibraryPath [8192]
char kLdrDyldUnixSystemLibraryPath [1024] = "/lib;/usr/lib"

Detailed Description

kLdr - The Dynamic Loader, File Searching Methods.

Definition in file kLdrDyldFind.c.


Generated by  Doxygen 1.6.0   Back to index