rtplibcommon.h

来自「linux环境下用纯c写的RTP协议的通用开发库」· C头文件 代码 · 共 38 行

H
38
字号
/*------------------------------------------------------------------------- * rtplibcommon.h *------------------------------------------------------------------------- */#ifndef RTPLIBCOMMON_H#define RTPLIBCOMMON_H#ifdef LINUX#include <linux.h>#endif /* LINUX */typedef char bool;typedef unsigned int ssrc_t;typedef unsigned int mediatime_t;typedef	unsigned short seq_t;#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 *//* * 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 + -
显示快捷键?