ospostime.h

来自「mgcp协议源代码。支持多种编码:g711」· C头文件 代码 · 共 82 行

H
82
字号
/**########################################################################*########################################################################*########################################################################*                                                               *   COPYRIGHT (c) 1998, 1999 by TransNexus, LLC                          *                                                                    *   This software contains proprietary and confidential information  *   of TransNexus, LLC. Except as may be set forth in the license    *   agreement under which this software is supplied, use, disclosure, *   or reproduction is prohibited without the prior, express, written*   consent of TransNexus, LLC.                                      *                                     *******#########################################################################*#########################################################################*#########################################################################*//* * ospostime.h - OS-specific time structures and prototypes */#ifndef _OSPOSTIME_H#define _OSPOSTIME_H#include "time.h"#include "osp.h"/* time limits */#define OSPC_TIMEMIN    ((OSPTTIME)0)#define OSPC_TIMEMAX ((OSPTTIME)LONG_MAX)/* OSP string time format is YYYY-MM-DDThh:mm:ssZ */#define OSPC_TIMESTRINGSIZE (sizeof("YYYY-MM-DDThh:mm:ssZ") + 1)/**//*-----------------------------------------------------------------------* * Function prototypes *-----------------------------------------------------------------------*/#ifdef __cplusplusextern "C" {#endif    unsigned OSPPOSTimeCalToString(OSPTTIME, char *);    unsigned OSPPOSTimeStringToCal(const char *, OSPTTIME *);    int    OSPPOSTimeGetTime(        OSPTTIME *ospvTime,        unsigned int *ospvTimeMS);    int    OSPPOSTimeFormatGMTTime(        OSPTTIME ospvTime,        char *ospvFormat,        char *ospvTimeString);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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