Changeset 204 in vbox for trunk/include/iprt
- Timestamp:
- Jan 21, 2007 9:57:51 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17688
- Location:
- trunk/include/iprt
- Files:
-
- 13 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/initterm.h
r195 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - Runtime Init/Term. 4 3 */ … … 20 19 */ 21 20 22 #ifndef __iprt_ Runtime_h__23 #define __iprt_ Runtime_h__21 #ifndef __iprt_initterm_h__ 22 #define __iprt_initterm_h__ 24 23 25 24 #include <iprt/cdefs.h> -
trunk/include/iprt/path.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - Path Manipulation. 4 3 */ -
trunk/include/iprt/process.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - Process Management. 4 3 */ -
trunk/include/iprt/runtime.h
r1 r204 1 1 /** @file 2 * 3 * InnoTek Portable Runtime - Runtime Init/Term. 2 * InnoTek Portable Runtime - Include Everything. 4 3 */ 5 4 … … 20 19 */ 21 20 22 #ifndef __iprt_ Runtime_h__23 #define __iprt_ Runtime_h__21 #ifndef __iprt_runtime_h__ 22 #define __iprt_runtime_h__ 24 23 25 24 #include <iprt/cdefs.h> 26 25 #include <iprt/types.h> 26 #include <iprt/param.h> 27 #include <iprt/initterm.h> 27 28 28 29 __BEGIN_DECLS 30 31 /** @defgroup grp_rt InnoTek Portable Runtime APIs 32 * @{ 33 */ 34 35 /** @defgroup grp_rt_initterm Init / Term 36 * @{ 37 */ 29 #include <iprt/alloc.h> 30 #include <iprt/asm.h> 31 #include <iprt/assert.h> 32 #include <iprt/avl.h> 33 #include <iprt/crc32.h> 34 #include <iprt/crc64.h> 35 #include <iprt/critsect.h> 36 #include <iprt/dir.h> 37 #include <iprt/err.h> 38 #include <iprt/file.h> 39 #include <iprt/fs.h> 40 #include <iprt/ldr.h> 41 #include <iprt/log.h> 42 #include <iprt/md5.h> 43 #include <iprt/mem.h> 44 #include <iprt/path.h> 45 #include <iprt/semaphore.h> 46 #include <iprt/spinlock.h> 47 #include <iprt/stdarg.h> 48 #include <iprt/string.h> 49 #include <iprt/system.h> 50 #include <iprt/table.h> 51 #include <iprt/thread.h> 52 #include <iprt/time.h> 53 #include <iprt/timer.h> 54 #include <iprt/uni.h> 55 #include <iprt/uuid.h> 56 #include <iprt/zip.h> 38 57 39 58 #ifdef IN_RING3 40 /** 41 * Initalizes the runtime library. 42 * 43 * @returns iprt status code. 44 * 45 * @param fInitSUPLib Set if SUPInit() shall be called during init (default). 46 * Clear if not to call it. 47 * @param cbReserve The number of bytes of contiguous memory that should be reserved by 48 * the runtime / support library. 49 * Set this to 0 if no reservation is required. (default) 50 * Set this to ~(size_t)0 if the maximum amount supported by the VM is to be 51 * attempted reserved, or the maximum available. 52 * This argument only applies if fInitSUPLib is true and we're in ring-3 HC. 53 */ 54 RTR3DECL(int) RTR3Init( 55 #ifdef __cplusplus 56 bool fInitSUPLib = true, 57 size_t cbReserve = 0 58 #else 59 bool fInitSUPLib, 60 size_t cbReserve 61 #endif 62 ); 63 64 /** 65 * Terminates the runtime library. 66 */ 67 RTR3DECL(void) RTR3Term(void); 59 # include <iprt/stream.h> 60 # include <iprt/tcp.h> 61 # include <iprt/ctype.h> 62 # include <iprt/alloca.h> /** @todo iprt/alloca.h should be made available in R0 and GC too! */ 63 # include <iprt/process.h> /** @todo iprt/process.h should be made available in R0 too (partly). */ 68 64 #endif 69 65 70 71 66 #ifdef IN_RING0 72 /** 73 * Initalizes the ring-0 driver runtime library. 74 * 75 * @returns iprt status code. 76 * @param fReserved Flags reserved for the future. 77 */ 78 RTR0DECL(int) RTR0Init(unsigned fReserved); 79 80 /** 81 * Terminates the ring-0 driver runtime library. 82 */ 83 RTR0DECL(void) RTR0Term(void); 67 # include <iprt/memobj.h> 84 68 #endif 85 86 /** @} */87 88 /** @} */89 90 __END_DECLS91 69 92 70 -
trunk/include/iprt/semaphore.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - Semaphore. 4 3 */ -
trunk/include/iprt/spinlock.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - Spinlocks. 4 3 */ … … 91 90 #ifdef __DOXYGEN__ 92 91 # define RTSPINLOCKTMP_INITIALIZER 93 #endif 92 #endif 94 93 95 94 -
trunk/include/iprt/stdarg.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - stdarg.h wrapper. 4 3 */ -
trunk/include/iprt/stdint.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - stdint.h wrapper (for backlevel compilers like MSC). 4 3 */ -
trunk/include/iprt/stream.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - I/O Stream. 4 3 */ -
trunk/include/iprt/string.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - String Manipluation. 4 3 */ -
trunk/include/iprt/system.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - System. 4 3 */ -
trunk/include/iprt/table.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - Abstract Table/Trees. 4 3 */ -
trunk/include/iprt/tcp.h
r1 r204 1 1 /** @file 2 *3 2 * InnoTek Portable Runtime - TCP/IP. 4 3 */ -
trunk/include/iprt/uuid.h
r1 r204 26 26 #include <iprt/types.h> 27 27 28 #ifdef IN_RING029 # error "There are no RTUuid APIs available Ring-0 Host Context!"30 #endif31 32 28 __BEGIN_DECLS 33 29 … … 43 39 * @param pUuid Where to store generated uuid. 44 40 */ 45 RT R3DECL(int) RTUuidCreate(PRTUUID pUuid);41 RTDECL(int) RTUuidCreate(PRTUUID pUuid); 46 42 47 43 /** … … 51 47 * @param pUuid Where to store generated null uuid. 52 48 */ 53 RT R3DECL(int) RTUuidClear(PRTUUID pUuid);49 RTDECL(int) RTUuidClear(PRTUUID pUuid); 54 50 55 51 /** … … 59 55 * @param pUuid uuid to check. 60 56 */ 61 RT R3DECL(int) RTUuidIsNull(PCRTUUID pUuid);57 RTDECL(int) RTUuidIsNull(PCRTUUID pUuid); 62 58 63 59 /** … … 68 64 * @param pUuid2 Second value to compare. 69 65 */ 70 RT R3DECL(int) RTUuidCompare(PCRTUUID pUuid1, PCRTUUID pUuid2);66 RTDECL(int) RTUuidCompare(PCRTUUID pUuid1, PCRTUUID pUuid2); 71 67 72 68 /** … … 78 74 * @param cchString pszString buffer length, must be >= RTUUID_STR_LENGTH. 79 75 */ 80 RT R3DECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, unsigned cchString);76 RTDECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, unsigned cchString); 81 77 82 78 /** … … 87 83 * @param pszString String with UUID text data. 88 84 */ 89 RT R3DECL(int) RTUuidFromStr(PRTUUID pUuid, const char *pszString);85 RTDECL(int) RTUuidFromStr(PRTUUID pUuid, const char *pszString); 90 86 91 87 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.