|
From: | Kevin P. Fleming |
Subject: | Re: How to know what modules were dlpreopen-ed? |
Date: | Mon, 13 Oct 2003 09:35:22 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 |
Bob Friesenhahn wrote:
For the application I support, we use our own directory scanner to look for modules (.la files) to load via a fully-qualified path. It would be useful if this capability was included as part of libltdl.
You can pass a directory path to lt_dlforeachfile, which will then call your callback function with extension-stripped filenames that it finds in that directory. Your callback function can then call lt_dlopen or lt_dlopenext, whatever is appropriate.
[Prev in Thread] | Current Thread | [Next in Thread] |