hust_rtplibcommon.h

来自「实现基于ip2022的MPEG2 TS的IP组播接收」· C头文件 代码 · 共 53 行

H
53
字号
/*------------------------------------------------------------------------- * rtplibcommon.h *------------------------------------------------------------------------- */#ifndef RTPLIBCOMMON_H#define RTPLIBCOMMON_H///#ifdef LINUX////#include <linux.h>///#endif /* LINUX */#include <ipOS.h>#include <ipHAL.h>typedef char bool;typedef unsigned long int ssrc_t;typedef unsigned long int mediatime_t;typedef	unsigned short seq_t;//////////////*********for linuxtypedef long time_t;#define	INADDR_ANY 0//////////////////for linux /////////////////#define min(a, b) (a < b ? a : b)#define max(a, b) (a < b ? b : a)#define TRUE		1#define FALSE		0#define OK		0#define ERROR		-1#ifndef NULL#define NULL		0#endif /* !NULL *///////**************************************  type in linux   **************************//////////u32_t	random();float	drand48();//////**********************************************************************************///////////* * Uncomment the line below to include * experimental support for inter-stream * and inter-session synchronization. *//*#define RTPLIB_SYNCHRONIZE*/#endif /* !RTPLIBCOMMON_H */

⌨️ 快捷键说明

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