| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /**********************************************************************/
- /* EhangCom: API Head file
- *
- * FILE: cslib.h
- *
- * DESCRIPTION: Header File for EhangCom Digital Network Interface library
- *
- * Copyright (c) EhangCom Corp. All Rights Reserved
- *
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF EhangCom Corp.
- * The copyright notice above does not evidence any actual or
- * intended publication of such source code.
- */
- /**********************************************************************/
- #ifndef __CSLIB_H__
- #define __CSLIB_H__
- #include "IsxApi.h"
- /*
- * Prototypes for all library functions.
- */
- #ifdef __cplusplus
- extern "C" { // C++ func bindings to enable C funcs to be called from C++
- #define extern
- #endif
- #if (defined (__BORLANDC__) || defined (__cplusplus) || defined( __STDC__ ))
- ISXAPI_FUNC_STDCL(INT) ISX_cs_close(INT dev, INT oflags = 0);
- ISXAPI_FUNC_STDCL(INT) ISX_cs_getxmitslot(INT, SC_TSINFO *);
- ISXAPI_FUNC_STDCL(INT) ISX_cs_listen(INT, SC_TSINFO *);
- ISXAPI_FUNC_STDCL(INT) ISX_cs_open(CHAR nodeno, SHORT channel, VOID* pusrattr = 0);
- ISXAPI_FUNC_STDCL(INT) ISX_cs_unlisten(INT);
- ISXAPI_FUNC_STDCL(INT) ISX_cs_GetUsrAttr(INT dev, VOID **usr_attrp);
- ISXAPI_FUNC_STDCL(INT) ISX_cs_SetUsrAttr(INT dev, VOID *usr_attr);
- #endif
- #ifdef __cplusplus
- }
- #undef extern
- #endif
- #endif
|