VirtualBox

Changeset 11822 in vbox for trunk/include


Ignore:
Timestamp:
Aug 29, 2008 2:21:03 PM (16 years ago)
Author:
vboxsync
Message:

IPRT: RTR3Init cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/initterm.h

    r11794 r11822  
    4646#ifdef IN_RING3
    4747/**
    48  * Initalizes the runtime library.
     48 * Initializes the runtime library.
    4949 *
    5050 * @returns iprt status code.
     51 */
     52RTR3DECL(int) RTR3Init(void);
     53
     54/**
     55 * Initializes the runtime library and try initialize SUPLib too.
    5156 *
    52  * @param   fInitSUPLib     Set if SUPR3Init() shall be called during init (default).
    53  *                          Clear if not to call it.
    54  * @param   cbReserve       Ignored.
     57 * @returns IPRT status code.
     58 * @param   pszProgramPath      The path to the program file.
     59 *
     60 * @remarks Failure to initialize SUPLib is ignored.
    5561 */
    56 RTR3DECL(int) RTR3Init(
    57 #ifdef __cplusplus
    58     bool fInitSUPLib = true,
    59     size_t cbReserve = 0
    60 #else
    61     bool fInitSUPLib,
    62     size_t cbReserve
    63 #endif
    64     );
     62RTR3DECL(int) RTR3InitAndSUPLib(void);
     63
     64/**
     65 * Initializes the runtime library passing it the program path.
     66 *
     67 * @returns IPRT status code.
     68 * @param   pszProgramPath      The path to the program file.
     69 */
     70RTR3DECL(int) RTR3InitWithProgramPath(const char *pszProgramPath);
     71
     72/**
     73 * Initializes the runtime library passing it the program path,
     74 * and try initialize SUPLib too (failures ignored).
     75 *
     76 * @returns IPRT status code.
     77 * @param   pszProgramPath      The path to the program file.
     78 *
     79 * @remarks Failure to initialize SUPLib is ignored.
     80 */
     81RTR3DECL(int) RTR3InitAndSUPLibWithProgramPath(const char *pszProgramPath);
    6582
    6683/**
     
    6885 */
    6986RTR3DECL(void) RTR3Term(void);
    70 #endif
     87
     88#endif /* IN_RING3 */
    7189
    7290
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette