⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 osptransids.h

📁 mgcp协议源代码。支持多种编码:g711
💻 H
字号:
/*####################################################################################################################################################################################################################################                                                                     ######   COPYRIGHT (c) 1999 by TransNexus, LLC                             ######                                                                     ######   This software contains proprietary and confidential information   ######   of TransNexus, LLC. Except as may be set forth in the licencse    ######   agreement under which this software is supplied, use, disclosure, ######   or reproduction is prohibited without the prior, express, written ######   consent of TransNexus, LLC.                                       ######                                                                     ####################################################################################################################################################################################################################################*//* * tnids.h - structures and prototypes for functions that manage *           TransNexus transaction IDs */#ifndef tnids_h#define tnids_h#include "osp.h"/*MACROS#define tnListNewest (tnSentinel.tidOlderPtr)#define tnListOldest (tnSentinel.tidNewerPtr)#define tnListEnd    (&tnSentinel)*/typedef struct _OSPTTRANSID                  /* info about a transaction ID */{    OSPTUINT64     ospmTransactionId;           /* the actual transaction ID value */    unsigned long  ospmTransactionIdExpires;    /* expiration time */    struct _OSPTTRANSID    *ospmTransactionIdLessPtr;    /* lower valued ID in tree */    struct _OSPTTRANSID    *ospmTransactionIdMorePtr;    /* greater valued ID in tree */    struct _OSPTTRANSID   **ospmTransactionIdParent;     /* parent pointer (for removes) */    struct _OSPTTRANSID    *ospmTransactionIdOlderPtr;   /* older in list */    struct _OSPTTRANSID    *ospmTransactionIdNewerPtr;   /* more recent in list */}OSPTTRANSID;#include "ospprovider.h"#ifdef __cplusplusextern "C" {#endif    /* Function Definitions */	OSPTBOOL        OSPPTransIdAdd(OSPTTRANSID *, struct _OSPTPROVIDER *);	OSPTBOOL        OSPPTransIdCheckAndAdd(OSPTUINT64, unsigned long, struct _OSPTPROVIDER   *);	void            OSPPTransIdDelete(OSPTTRANSID *);	void            OSPPTransIdInit(struct _OSPTPROVIDER *);	OSPTTRANSID    *OSPPTransIdNew(OSPTUINT64, unsigned long);	void            OSPPTransIdPurge(OSPTTRANSID *, struct _OSPTPROVIDER *);	void            OSPPTransIdRemove(OSPTTRANSID *, struct _OSPTPROVIDER *);	unsigned long   OSPPTransIdSecNow(void);	void            OSPPTransIdTimeAdd(OSPTTRANSID *, struct _OSPTPROVIDER *);    void            OSPPTransIDTreeDelete(struct _OSPTPROVIDER *);#ifdef TN_TRANSDBG	void tnPrintTree(OSPTTRANSID *pTrans);	void tnTransById(struct _OSPTPROVIDER *);    /* print by transaction ID */	void tnTransByTime(struct _OSPTPROVIDER *);  /* print by expiration time */#endif#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -