Ignore:
Timestamp:
Oct 26, 2006, 3:03:39 AM (19 years ago)
Author:
bird
Message:

more prototyping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdrDySearch.c

    r2834 r2835  
    3535
    3636
     37/**
     38 * Locates and opens a module using the specified search method.
     39 *
     40 * @returns 0 and *ppRdr on success, non-zero OS specific error on failure.
     41 *
     42 * @param   pszName         Partial or complete name, it's specific to the search method to determin which.
     43 * @param   pszPrefix       Prefix that might be used (that's method specific).
     44 * @param   pszSuffix       Suffix that can be applied to an incomplete name.
     45 * @param   enmSearch       The file search method to apply.
     46 * @param   fFlags          Search flags.
     47 * @param   ppMod           Where to store the file provider instance on success.
     48 */
     49int kldrDyldFindNewModule(const char *pszName, const char *pszPrefix, const char *pszSuffix,
     50                          KLDRDYLDSEARCH enmSearch, unsigned fFlags, PPKLDRDYLDMOD ppMod)
     51{
     52    *ppMod = NULL;
     53    return -1;
     54}
     55
     56
     57/**
     58 * Locates an already open module using the specified search method.
     59 *
     60 * @returns 0 and *ppMod on success, non-zero OS specific error on failure.
     61 *
     62 * @param   pszName         Partial or complete name, it's specific to the search method to determin which.
     63 * @param   pszPrefix       Prefix that might be used (that's method specific).
     64 * @param   pszSuffix       Suffix that can be applied to an incomplete name.
     65 * @param   enmSearch       The file search method to apply.
     66 * @param   fFlags          Search flags.
     67 * @param   ppMod           Where to store the file provider instance on success.
     68 */
     69int kldrDyldFindExistingModule(const char *pszName, const char *pszPrefix, const char *pszSuffix,
     70                               KLDRDYLDSEARCH enmSearch, unsigned fFlags, PPKLDRDYLDMOD ppMod)
     71{
     72    *ppMod = NULL;
     73    return -1;
     74}
     75
Note: See TracChangeset for help on using the changeset viewer.