muxTkLib.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:2k
源码类别:
VxWorks
开发平台:
C/C++
- /* muxTkLib.h - definitions for muxTkLib.c */
- /* Copyright 1984-2001 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01j,10oct01,rae merge from truestack (add muxTkCookieGet)
- 01i,16oct00,niq Integrating T3 DHCP
- 01h,29apr99,pul Upgraded NPT phase3 code to tor2.0.0
- 01g,30mar99,pul removed all muxMCastMap and muxSvcFunc function declarations
- 01f,24feb99,sj added muxTkPollReceive
- 01e,23feb99,sj added spare data last argument for muxTkSend and muxTkPollSend
- 01d,06nov98,sj removed prototypes for muxTkReceive and nptHookRtn
- 01c,27oct98,pul changed nptHookRtn declaration to return STATUS.
- 01b,09oct98,sj fixed bad prototype for muxMCastMapFuncGet
- 01a,07oct98,pul written.
- */
- /*
- DESCRIPTION
- This file includes function prototypes for the MUX.
- INCLUDE FILES: muxLib.h
- */
- #ifndef __INCmuxTkLibh
- #define __INCmuxTkLibh
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* includes */
- #include "muxLib.h"
- /* defines */
- /* typedefs */
- /* locals */
- /* globals */
- IMPORT int muxMaxBinds;
- /* forward declarations */
- /* Toolkit functions */
- IMPORT STATUS muxTkLibInit (void);
- IMPORT int muxTkDrvCheck (char * pDevName);
- IMPORT void * muxTkBind (char * pName, int unit,
- BOOL (*stackRcvRtn) (void *, long, M_BLK_ID, void *),
- STATUS (*stackShutdownRtn) (void *),
- STATUS (*stackTxRestartRtn) (void *),
- void (*stackErrorRtn) (void *, END_ERR *),
- long type, char * pProtoName, void * pNetSvcStruct,
- void * pNetSvcInfo, void * pNetDrvInfo);
- IMPORT STATUS muxTkSend (void * pCookie, M_BLK_ID pNBuff, char *,
- USHORT, void *);
- IMPORT STATUS muxTkPollSend (void * pCookie, M_BLK_ID pNBuff, char *,
- USHORT, void *);
- IMPORT STATUS muxTkPollReceive (void * pCookie, M_BLK_ID pNBuff, void *pSpare);
- IMPORT STATUS muxTkPollReceive2 (void *, M_BLK_ID pNBuff);
- IMPORT void * muxTkCookieGet (char *, int);
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCmuxTkLibh */