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

📄 ivoice.h

📁 170话费催交系统
💻 H
字号:



 /**************************************************************************
 *                                                                         *
 *          IIIIII   VV   VV   OOOOO   IIIIII    CCCCC   EEEEEEE           *
 *            II     VV   VV  OO   OO    II     CC   CC  EE                *
 *            II     VV   VV  OO   OO    II     CC       EE                *
 *            II      V   V   OO   OO    II     CC       EEEEE             *
 *            II      VV VV   OO   OO    II     CC       EE                *
 *            II      VV VV   OO   OO    II     CC   CC  EE                *
 *          IIIIII     VVV     OOOOO   IIIIII    CCCCC   EEEEEEE           *
 *                                                                         *
 ***************************************************************************
 *          C Source IVOICE Header File                                    *
 ***************************************************************************
 *********** Rev 1.00 Alpha 1.00 ***** 3/18/96 *****************************
 *  1. Initial Release                                                     *
 **************************************************************************/
/*
 * Defines and Macros
 */

/* Defines for states */
#define ST_WTFORCALL    1
#define ST_ONHOOK       2
#define ST_GETMFDIG     3
#define ST_WTFORONHK    4

/* Other defines */
#define MAXCHANS     1
#define TABLE_SIZE   9

/*
 * Typedefs and Structure Definitions
 */

/* Structure for storing channel info */
typedef struct INFO
   {
      int state;
      int devhandle;
      int dtihandle;
      DX_IOTT iott[1];
      DV_DIGIT  digbuf;
   }DX_INFO;

/* Structure for look up table */
typedef struct
   {
      int current_state;
      int event;
      int next_state;
      void (*funcptr)(int);
   }TABLE;


/*
 * Function Prototypes
 */
void main(void);
void sysinit(void);
void playtone(int);
void wait_event();
void check_event(int,int);
void wtring(int);
int  process_event(int);
void setonhook(int);
void intr_hdlr();
void nochange(int);






⌨️ 快捷键说明

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