tclLoadDl.c File Reference

#include "tclInt.h"
#include <dlfcn.h>

Go to the source code of this file.

Defines

#define RTLD_NOW   1
#define RTLD_GLOBAL   0

Functions

int TclpDlopen (Tcl_Interp *interp, Tcl_Obj *pathPtr, Tcl_LoadHandle *loadHandle, Tcl_FSUnloadFileProc **unloadProcPtr)
Tcl_PackageInitProc * TclpFindSymbol (Tcl_Interp *interp, Tcl_LoadHandle loadHandle, CONST char *symbol)
void TclpUnloadFile (Tcl_LoadHandle loadHandle)
int TclGuessPackageName (CONST char *fileName, Tcl_DString *bufPtr)


Define Documentation

#define RTLD_GLOBAL   0

Definition at line 34 of file tclLoadDl.c.

Referenced by TclpDlopen().

#define RTLD_NOW   1

Definition at line 30 of file tclLoadDl.c.

Referenced by TclpDlopen(), and TclpInitPlatform().


Function Documentation

int TclGuessPackageName ( CONST char *  fileName,
Tcl_DString bufPtr 
)

Definition at line 212 of file tclLoadDl.c.

int TclpDlopen ( Tcl_Interp interp,
Tcl_Obj pathPtr,
Tcl_LoadHandle loadHandle,
Tcl_FSUnloadFileProc **  unloadProcPtr 
)

Tcl_PackageInitProc* TclpFindSymbol ( Tcl_Interp interp,
Tcl_LoadHandle  loadHandle,
CONST char *  symbol 
)

void TclpUnloadFile ( Tcl_LoadHandle  loadHandle  ) 

Definition at line 180 of file tclLoadDl.c.

References dlclose().



Generated on Wed Mar 12 12:18:37 2008 by  doxygen 1.5.1