core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

dlopen.c File Reference

#include "compiler.h"
#include "dlopen.h"

Functions

void * _mesa_dlopen (const char *libname, int flags)
 Wrapper functions for dlopen(), dlsym(), dlclose().
GenericFunc _mesa_dlsym (void *handle, const char *fname)
 Wrapper for dlsym() that does a cast to a generic function type, rather than a void *.
void _mesa_dlclose (void *handle)
 Wrapper for dlclose().


Function Documentation

void _mesa_dlclose ( void *  handle  ) 

Wrapper for dlclose().

void* _mesa_dlopen ( const char *  libname,
int  flags 
)

Wrapper functions for dlopen(), dlsym(), dlclose().

Note that the ifdef tests for various environments should be expanded. Wrapper for dlopen(). Note that 'flags' isn't used at this time.

GenericFunc _mesa_dlsym ( void *  handle,
const char *  fname 
)

Wrapper for dlsym() that does a cast to a generic function type, rather than a void *.

This reduces the number of warnings that are generated.


Generated on Sun Sep 27 06:47:45 2009 for Mesa Main by  doxygen 1.5.4