📄 inet_msg_res.c
字号:
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* inet_msg_res.c
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* This file contains string resources in inet message library.
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
#ifndef _INET_MSG_RES_C
#define _INET_MSG_RES_C
#ifdef INET_MSG_LIB_SUPPORT
#include "kal_release.h"
#include "inet_msg_def.h"
#include "inet_msg_struct.h"
#include "inet_msg_pack.h"
#include "inet_msg_unpack.h"
#include "inet_msg_mem.h"
/* Include external application's headers */
#include "inet_msg_app.h"
typedef struct
{
kal_uint32 header_id;
kal_char *header_str;
inet_header_pack_fn pack_fn;
inet_header_unpack_fn unpack_fn;
inet_struct_copy_fn st_copy_fn;
inet_struct_free_fn st_free_fn;
inet_header_value_add_to_list_fn val_add_fn;
} inet_header_process_info_table_struct;
const kal_char *const inet_uri_table[INET_URI_SCHEME_NUM] =
{
"sip", /* SIP URI */
"sips", /* SIPS URI */
"http", /* HTTP URI */
"https", /* HTTPS URI */
"cid", /* CID */
"tel" /* TEL */
};
const kal_char *const inet_trans_prot_table[INET_TRANS_NUM] =
{
"UDP", /* INET_TRANS_UDP */
"TCP", /* INET_TRANS_TCP */
"TLS", /* INET_TRANS_TLS */
"SCTP", /* INET_TRANS_SCTP */
};
const kal_char *const inet_method_name_table[INET_METHOD_NUM] =
{
"REGISTER", /* INET_METHOD_SIP_REGISTER, */
"INVITE", /* INET_METHOD_SIP_INVITE, */
"REFER", /* INET_METHOD_SIP_REFER, */
"UPDATE", /* INET_METHOD_SIP_UPDATE, */
"CANCEL", /* INET_METHOD_SIP_CANCEL, */
"MESSAGE", /* INET_METHOD_SIP_MESSAGE, */
"ACK", /* INET_METHOD_SIP_ACK, */
"BYE", /* INET_METHOD_SIP_BYE, */
"OPTIONS", /* INET_METHOD_SIP_OPTIONS, */
"SUBSCRIBE", /* INET_METHOD_SIP_SUBSCRIBE, */
"NOTIFY", /* INET_METHOD_SIP_NOTIFY, */
"PUBLISH", /* INET_METHOD_SIP_PUBLISH, */
"GET", /* INET_METHOD_HTTP_GET, */
"POST", /* INET_METHOD_HTTP_POST, */
"TRACE", /* INET_METHOD_HTTP_TRACE, */
"HEAD", /* INET_METHOD_HTTP_HEAD, */
"PUT", /* INET_METHOD_HTTP_PUT, */
"DELETE", /* INET_METHOD_HTTP_DELETE, */
"CONNECT", /* INET_METHOD_HTTP_CONNECT */
};
const kal_char *const inet_cache_control_name_table[INET_CACHE_CONTROL_NUM] =
{
"no-cache",
"no-store",
"no-transform",
"max-age",
"max-stale",
"min-fresh",
"must-revalidate",
"only-if-cached",
"proxy-revalidate",
"private",
"public",
"s-maxage",
};
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -