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

📄 newcall.h

📁 多媒体电话记录程序
💻 H
字号:
/**********************************************************
*  Name: newcall.h
*  Copyright: wellgain
*  Author: bet
*  Date: 2003-11-1
*  Description:  the interface to the tel
**********************************************************/
#ifndef _WG_NEWCALL_H_
#define _WG_NEWCALL_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


#include <time.h>

/* 电话类型:    未接		 已接		已拨	黑名单     */
enum calltype { missed = 1, received, dialed, blacklist };

/* return 1 if the tel is in the blacklist, or 0 otherwise */
int is_blackname(const char* tel);

/* save a newcall information. 
* type: calltype
* duration: 持续时间
*/
void newcall(const char* name, const char* tel, 
			 time_t time, time_t duration, int type);

void sync_data_file();


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _WG_NEWCALL_H_ */

⌨️ 快捷键说明

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