wftk_lookup_static_adaptors; this function would be compiled uniquely for each installation and would return the usual information about local static adaptors.
At first glance, this scheme seems unlikely to work for Windows -- except that under Windows, most adaptors are going to be dynamically linked, not static; they'll be DLLs. A single standard set of adaptors will be organized into wftk_a.dll (possibly split into plain and _rt varieties, to denote the runtime they work with.) It's really only under Unix that static linking is so important, and that's mostly because I still haven't figured out dynamic linking under Unix.
|This code and documentation are released under the terms of the GNU license. They are copyright (c) 2002, Vivtek. All rights reserved except those explicitly granted under the terms of the GNU license. This presentation was prepared with LPML. Try literate programming. You'll like it.|