Mike Mattie wrote:
loader : a bit-mask selecting loaders to be included in the search. This arguement is passed by reference. When a matching file is found the value of loader is reset to the flag for the loader under which it was found. loader is not modified unless a matching file is found.
This does make more sense than the pointer to an enum. Though, it's still true that the caller doesn't really need to know all the alternatives for looking up a library. It could all be encapsulated within library.c.
Allison