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

📄 ospauthcnf.c

📁 mgcp协议源代码。支持多种编码:g711
💻 C
字号:
/**########################################################################*########################################################################*########################################################################*                                                               *   COPYRIGHT (c) 1998, 1999 by TransNexus, LLC                          *                                                                    *   This software contains proprietary and confidential information  *   of TransNexus, LLC. Except as may be set forth in the license    *   agreement under which this software is supplied, use, disclosure, *   or reproduction is prohibited without the prior, express, written*   consent of TransNexus, LLC.                                      *                                     *******#########################################################################*#########################################################################*#########################################################################*//* * ospauthcnf.c - OSP authorisation confirmation functions */#include "osp.h"#include "osperrno.h"#include "ospbfr.h"#include "ospxmlattr.h"#include "ospxmlelem.h"#include "ospmsgattr.h"#include "ospmsgelem.h"#include "ospauthcnf.h"#include "ospstatus.h"#include "osputils.h"/*-----------------------------------------------------------------------* * OSPPAuthCnfDelete() - destroy specified AuthCnf object *-----------------------------------------------------------------------*/voidOSPPAuthCnfDelete(    OSPTAUTHCNF **ospvAuthCnf){    if (*ospvAuthCnf != OSPC_OSNULL)    {        if (OSPPAuthCnfHasStatus(*ospvAuthCnf))        {            OSPPStatusDelete(&((*ospvAuthCnf)->ospmAuthCnfStatus));        }        OSPM_FREE(*ospvAuthCnf);        *ospvAuthCnf = OSPC_OSNULL;    }}#ifdef OSPC_DEBUG/**//*-----------------------------------------------------------------------* * OSPPAuthCnfHasStatus() - does the authorisation confirmation have * a status? *-----------------------------------------------------------------------*/unsigned                            /* returns non-zero if number exists */OSPPAuthCnfHasStatus(    OSPTAUTHCNF *ospvAuthCnf       /* authorisation confirmation effected */){    unsigned ospvHasStatus = OSPC_FALSE;    if(ospvAuthCnf != OSPC_OSNULL)    {        ospvHasStatus = ((ospvAuthCnf)->ospmAuthCnfStatus != OSPC_OSNULL);    }    return(ospvHasStatus);}#endif /* OSPC_DEBUG */

⌨️ 快捷键说明

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