Changeset 1546 for trunk/src/emx/include


Ignore:
Timestamp:
Oct 7, 2004, 8:42:16 AM (21 years ago)
Author:
bird
Message:

Dynamic loading.
Logging groups.

Location:
trunk/src/emx/include/InnoTekLIBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/backend.h

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r1545 r1546  
    340340
    341341
     342/** @defgroup __libc_Back_ldr   LIBC Backend - Loader
     343 * @{ */
     344
     345/**
     346 * Opens a shared library.
     347 *
     348 * @returns 0 on success.
     349 * @returns Native error number.
     350 * @param   pszLibrary      Name of library to load.
     351 * @param   fFlags          Flags - ignored.
     352 * @param   ppvModule       Where to store the handle.
     353 * @param   pszError        Where to store error information.
     354 * @param   cchError        Size of error buffer.
     355 */
     356int  __libc_Back_ldrOpen(const char *pszLibrary, int fFlags, void **ppvModule, char *pszError, size_t cchError);
     357
     358/**
     359 * Finds a symbol in an open shared library.
     360 *
     361 * @returns 0 on success.
     362 * @returns Native error number.
     363 * @param   pvModule        Module handle returned by __libc_Back_ldrOpen();
     364 * @param   pszSymbol       Name of the symbol we're to find in pvModule.
     365 * @param   ppfn            Where to store the symbol address.
     366 */
     367int __libc_Back_ldrSymbol(void *pvHandle,  const char *pszSymbol, void **ppfn);
     368
     369/**
     370 * Closes a shared library.
     371 *
     372 * @returns 0 on success.
     373 * @returns Native error number.
     374 * @param   pvModule        Module handle returned by __libc_Back_ldrOpen();
     375 */
     376int  __libc_Back_ldrClose(void *pvModule);
     377
     378
     379/** @} */
     380
     381
     382
     383
    342384
    343385/** @defgroup __libc_Back_misc   LIBC Backend - Miscellaneous
  • trunk/src/emx/include/InnoTekLIBC/logstrict.h

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r1545 r1546  
    183183
    184184/** Backend FS APIs. */
     185#define __LIBC_LOG_GRP_BACK_LDR     22
     186/** Backend FS APIs. */
    185187#define __LIBC_LOG_GRP_BACK_FS      23
    186188/** Shared Process Database and LIBC Shared Memory APIs. */
    187 #define __LIBC_LOG_GRP_SPM          24
     189#define __LIBC_LOG_GRP_BACK_SPM     24
    188190/** Fork APIs. */
    189191#define __LIBC_LOG_GRP_FORK         25
Note: See TracChangeset for help on using the changeset viewer.