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

📄 calls.h

📁 sip 开源代码 源于novell sip 开源代码 源于novell
💻 H
字号:
#ifndef __CALLS_H__#define __CALLS_H__#define CIDMAX	32enum callstate {	CALLING = 0,	TALKING,	ON_HOLD};struct call {	struct call		*next;	char			*dest;	char			 cid[CIDMAX];	char			 sid[CIDMAX];	enum callstate	state;};typedef struct call callobj;void	 call_print_list	(void);callobj	*call_push_new	(char *, char *, char *);//// remove a call from the list (and free memory)// @param call id// @return the number of call removed// int call_pop (char *);//// change the state of a call, with is call id// @param call id// @param state//void call_change_state (char *, int);#endif	// __CALLS_H__

⌨️ 快捷键说明

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