unldLib.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:2k
源码类别:
VxWorks
开发平台:
C/C++
- /* unldLib.h - header for unload library */
- /* Copyright 1992 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01g,30oct96,elp Added syncUnldRtn function pointer + UNLD_SYNC option.
- 01f,22aug93,jmm added option type to supress breakpoint deletion
- 01e,16aug93,jmm added new errno - S_unldLib_TEXT_IN_USE
- 01d,30oct92,jmm added prototype for reld() (spr 1716)
- 01c,22sep92,rrr added support for c++
- 01b,18sep92,jcf added include of moduleLib.h.
- 01a,14may92,jmm written.
- */
- #ifndef __INCunldLibh
- #define __INCunldLibh
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "moduleLib.h"
- /* unldLib Status Codes */
- #define S_unldLib_MODULE_NOT_FOUND (M_unldLib | 1)
- #define S_unldLib_TEXT_IN_USE (M_unldLib | 2)
- /* options for unld */
- #define UNLD_KEEP_BREAKPOINTS 1 /* don't delete breakpoints from unld() */
- #define UNLD_SYNC 2 /* already synchronizing a module */
- /* globals */
- extern FUNCPTR syncUnldRtn;
- /* function declarations */
- #if defined(__STDC__) || defined(__cplusplus)
- extern STATUS unld (void *name, int options);
- extern STATUS unldByNameAndPath (char *name, char *path, int options);
- extern STATUS unldByGroup (UINT16 group, int options);
- extern STATUS unldByModuleId (MODULE_ID moduleId, int options);
- MODULE_ID reld (void * nameOrId, int options);
- #else /* __STDC__ */
- extern STATUS unld ();
- extern STATUS unldByNameAndPath ();
- extern STATUS unldByGroup ();
- extern STATUS unldByModuleId ();
- MODULE_ID reld ();
- #endif /* __STDC__ */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCunldLibh */