wdbTyCoDrv.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* wdbTyCoDrv.h - header file for BSP serial drivers used by the agent */
- /* Copyright 1984-2002 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01d,25apr02,jhw Added C++ support (SPR 76304).
- 01c,15jun95,ms updated for new serial driver.
- 01b,05apr95,ms new data types.
- 01a,20dec94,ms written.
- */
- #ifndef __INCwdbTyCoDrvh
- #define __INCwdbTyCoDrvh
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* includes */
- #include "sioLib.h"
- /* data types */
- typedef struct
- {
- SIO_DRV_FUNCS * pDrvFuncs; /* driver functions */
- STATUS (*getTxChar)(); /* tx callback */
- void * getTxArg; /* callback arg */
- STATUS (*putRcvChar)(); /* receive callback */
- void * putRcvArg; /* callback arg */
- int fd; /* underlying tyCo file descriptor */
- } WDB_TYCO_SIO_CHAN;
- /* function prototypes */
- #if defined(__STDC__)
- extern STATUS wdbTyCoDevInit (WDB_TYCO_SIO_CHAN *pDev, char *devName,
- int baud);
- #else /* __STDC__ */
- extern STATUS wdbTyCoInit ();
- #endif /* __STDC__ */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCwdbTyCoDrvh */