/[libtool]/libtool/doc/libtool.texi
ViewVC logotype

Diff of /libtool/doc/libtool.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.116 by gary, Thu Apr 5 23:43:39 2001 UTC revision 1.117 by rboehne, Sat Jun 16 17:33:05 2001 UTC
# Line 1683  the linker used by @var{CC}. Line 1683  the linker used by @var{CC}.
1683  @end defvar  @end defvar
1684    
1685  @defvar LDFLAGS  @defvar LDFLAGS
1686  The flags to be used by @code{ltconfig} when it links a program.  If  The flags to be used by @code{libtool} when it links a program.  If
1687  this is not set, @code{AC_PROG_LIBTOOL} will not use any such flags.  It  this is not set, @code{AC_PROG_LIBTOOL} will not use any such flags.  It
1688  affects only the way @code{AC_PROG_LIBTOOL} runs tests, not the produced  affects only the way @code{AC_PROG_LIBTOOL} runs tests, not the produced
1689  @code{libtool}.  @code{libtool}.
# Line 2785  by the null-terminated string @var{name} Line 2785  by the null-terminated string @var{name}
2785  If the symbol cannot be found, @code{NULL} is returned.  If the symbol cannot be found, @code{NULL} is returned.
2786  @end deftypefun  @end deftypefun
2787    
2788  @deftypefun {const char *}lt_dlerror (void)  @deftypefun {const char *} lt_dlerror (void)
2789  Return a human readable string describing the most  Return a human readable string describing the most
2790  recent error that occurred from any of libltdl's functions.  recent error that occurred from any of libltdl's functions.
2791  Return @code{NULL} if no errors have occurred since initialization  Return @code{NULL} if no errors have occurred since initialization
# Line 3153  level types. Line 3153  level types.
3153  @code{lt_dlloader} is a handle for module loader types.  @code{lt_dlloader} is a handle for module loader types.
3154  @end deftp  @end deftp
3155    
3156  @deftp {Type} lt_dlloader_data  @deftp {Type} lt_user_data
3157  @code{lt_dlloader_data} is used for specifying loader instance data.  @code{lt_user_data} is used for specifying loader instance data.
3158  @end deftp  @end deftp
3159    
3160  @deftypefn {Type} {struct} lt_user_dlloader @{@w{const char *@var{sym_prefix};} @w{lt_module_open *@var{module_open};}@w{lt_module_close *@var{module_close};} @w{lt_find_sym *@var{find_sym};} @w{lt_dlloader_exit *@var{dlloader_exit};} @w{lt_dlloader_data @var{dlloader_data};} @}  @deftypefn {Type} {struct} lt_user_dlloader @{@w{const char *@var{sym_prefix};} @w{lt_module_open *@var{module_open};} @w{lt_module_close *@var{module_close};} @w{lt_find_sym *@var{find_sym};} @w{lt_dlloader_exit *@var{dlloader_exit};} @}
3161  If you want to define a new way to open dynamic modules, and have the  If you want to define a new way to open dynamic modules, and have the
3162  @code{lt_dlopen} @sc{api} use it, you need to instantiate one of these  @code{lt_dlopen} @sc{api} use it, you need to instantiate one of these
3163  structures and pass it to @code{lt_dlloader_add}.  You can pass whatever  structures and pass it to @code{lt_dlloader_add}.  You can pass whatever
# Line 3166  the value of the first parameter to each Line 3166  the value of the first parameter to each
3166  the function pointer fields.  the function pointer fields.
3167  @end deftypefn  @end deftypefn
3168    
3169  @deftypefn {Type} lt_module lt_module_open (@w{lt_user_data @var{loader_data},} @w{const char *@var{filename}})  @deftypefn {Type} lt_module lt_module_open (@w{const char *@var{filename}})
3170  The type of the loader function for an @code{lt_dlloader} module  The type of the loader function for an @code{lt_dlloader} module
3171  loader.  The value set in the dlloader_data field of the @code{struct  loader.  The value set in the dlloader_data field of the @code{struct
3172  lt_user_dlloader} structure will be passed into this function in the  lt_user_dlloader} structure will be passed into this function in the
# Line 3177  suitable for passing in to the associate Line 3177  suitable for passing in to the associate
3177  return @code{NULL}, and set the error message with @code{lt_dlseterror}.  return @code{NULL}, and set the error message with @code{lt_dlseterror}.
3178  @end deftypefn  @end deftypefn
3179    
3180  @deftypefn {Type} int lt_module_close (@w{lt_dlloader_data @var{loader_data},} @w{lt_module @var{module}})  @deftypefn {Type} int lt_module_close (@w{lt_user_data @var{loader_data},} @w{lt_module @var{module}})
3181  The type of the unloader function for a user defined module loader.  The type of the unloader function for a user defined module loader.
3182  Implementatation of such a function should attempt to release  Implementatation of such a function should attempt to release
3183  any resources tied up by the @var{module} module, and then unload it  any resources tied up by the @var{module} module, and then unload it
# Line 3185  from memory.  If the function fails for Line 3185  from memory.  If the function fails for
3185  message with @code{lt_dlseterror} and return non-zero.  message with @code{lt_dlseterror} and return non-zero.
3186  @end deftypefn  @end deftypefn
3187    
3188  @deftypefn {Type} lt_ptr lt_find_sym (@w{lt_user_data @var{loader_data},} @w{lt_module @var{module},} @w{const char *@var{symbol}})  @deftypefn {Type} lt_ptr lt_find_sym (@w{lt_module @var{module},} @w{const char *@var{symbol}})
3189  The type of the symbol lookup function for a user defined module loader.  The type of the symbol lookup function for a user defined module loader.
3190  Implementation of such a function should return the address of the named  Implementation of such a function should return the address of the named
3191  @var{symbol} in the module @var{module}, or else set the error message  @var{symbol} in the module @var{module}, or else set the error message

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.117

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26