mdm_extr.h

来自「PPP协议C语言源程序」· C头文件 代码 · 共 61 行

H
61
字号
/***********************************************************************
*
*        Copyright (c) 1997 - 2001 by Accelerated Technology, Inc.
*
* PROPRIETARY RIGHTS of Accelerated Technology are involved in the
* subject matter of this material.  All manufacturing, reproduction,
* use, and sales rights pertaining to this subject matter are governed
* by the license agreement.  The recipient of this software implicitly
* accepts the terms of the license.
*
************************************************************************
************************************************************************
*
*   FILE NAME                                           VERSION
*
*       MDM_EXTR.H                                      2.4
*
*   COMPONENT
*
*       MODEM
*
*   DESCRIPTION
*
*       This file contains function prototypes and structure definitions
*       used by the modem module of PPP and which are also accessible
*       to other moodules.
*
*   DATA STRUCTURES
*
*       None
*
*   DEPENDENCIES
*
*       None
*
***********************************************************************/

/* Check to see if the file has been included already.  */

#ifndef MDM_EXTR_H
#define MDM_EXTR_H

STATUS  MDM_Init(DV_DEVICE_ENTRY *);
STATUS  MDM_Data_Ready(CHAR *);
STATUS  MDM_Control_String(CHAR *string, CHAR *);
STATUS  MDM_Dial(CHAR *number, DV_DEVICE_ENTRY *);
STATUS  MDM_Change_Communication_Mode(INT mode, CHAR *);
STATUS  MDM_Get_Char(CHAR *, CHAR *);
STATUS  MDM_Put_Char (CHAR, CHAR *);
STATUS  MDM_Carrier (CHAR *);
STATUS  MDM_Purge_Input_Buffer(CHAR *);
CHAR   *MDM_Get_Modem_String(CHAR *, CHAR *, DV_DEVICE_ENTRY *, UINT8);
VOID    MDM_Delay(UNSIGNED milliseconds);
VOID    MDM_Receive(DV_DEVICE_ENTRY *);
STATUS  MDM_Hangup(LINK_LAYER*, UINT8);
STATUS  MDM_Wait_For_Client (DV_DEVICE_ENTRY *);
STATUS  MDM_Modem_Connected (DV_DEVICE_ENTRY *dev_ptr);
STATUS  MDM_Rings_To_Answer(CHAR *link_name, UINT8 num_rings);

#endif

⌨️ 快捷键说明

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