Home Client functions ldg_error() ldg_libpath()

ldg_find()

NAME

ldg_find - get a function inside a dynamical library.
 
SYNOPSIS

#include <ldg.h>
 
void *ldg_find( char *name, LDG *ldg);
 
PARAMETERS

name : name of searched function,
ldg : LDG descriptor,
return : address of the function is found or NULL otherwise.
 
DESCRIPTION

This function looks for a function inside a LDG-library. This function is optimized to find a set of functions in the same order they are built inside the library. A good convention is to use the alphabetic order.
 
If ldg_find() returns NULL, the internal ldg error is set to LDG_NOFUNC. After a set of ldg_find(), as usual in library binding, ldg_error() can be called to verify if all is okay.
 

Copyright © (c) 1997 - 2004 all right reserved.
Last updated on April 25, 2005

Home Client functions ldg_error() ldg_libpath()