diff -r 6385c4c93049 -r 8e6fa1719340 pushmtm/Plugins/PushContentHandler/sl_dict.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pushmtm/Plugins/PushContentHandler/sl_dict.c Wed Sep 01 12:31:04 2010 +0100 @@ -0,0 +1,198 @@ +/* +* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +/* +** WARNING +** +** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED +** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM +** +** This file generated on Tue Sep 30 14:30:25 2003 +** (coordinated universal time) +** +** Command line: dict_creator sl.dict sl_dict.c sl_dict.h +*/ + +/* + * Dictionary = SL + * Public id = 6 + * Doc Type = -//WAPFORUM//DTD SL 1.0//EN + */ + +#include "sl_dict.h" + + +static const NW_Ucs2 NW_SL_ElementTag_sl[] = {'s','l','\0'}; + +/* +** WARNING +** +** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED +** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM +** +** This file generated on Tue Sep 30 14:30:25 2003 +** (coordinated universal time) +** +** Command line: dict_creator sl.dict sl_dict.c sl_dict.h +*/ + +/* + * tag entries - sorted by token + */ +static const +NW_WBXML_DictEntry_t NW_SL_tag_token_0[1] = { + {0x05, (NW_String_UCS2Buff_t *) NW_SL_ElementTag_sl} +}; + +/* +** WARNING +** +** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED +** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM +** +** This file generated on Tue Sep 30 14:30:25 2003 +** (coordinated universal time) +** +** Command line: dict_creator sl.dict sl_dict.c sl_dict.h +*/ + +/* + * tag entries - sorted by name + */ +static const +NW_Byte NW_SL_tag_name_0[1] = { + 0, +}; + +static const NW_Ucs2 NW_SL_AttributeTag_action_execute_low[] = {'a','c','t','i','o','n','=','e','x','e','c','u','t','e','-','l','o','w','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_action_execute_high[] = {'a','c','t','i','o','n','=','e','x','e','c','u','t','e','-','h','i','g','h','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_action_cache[] = {'a','c','t','i','o','n','=','c','a','c','h','e','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_href[] = {'h','r','e','f','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_href_http___[] = {'h','r','e','f','=','h','t','t','p',':','/','/','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_href_http___www_[] = {'h','r','e','f','=','h','t','t','p',':','/','/','w','w','w','.','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_href_https___[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_href_https___www_[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','w','w','w','.','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag_action[] = {'a','c','t','i','o','n','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag__com_[] = {'.','c','o','m','/','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag__edu_[] = {'.','e','d','u','/','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag__net_[] = {'.','n','e','t','/','\0'}; +static const NW_Ucs2 NW_SL_AttributeTag__org_[] = {'.','o','r','g','/','\0'}; + +/* +** WARNING +** +** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED +** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM +** +** This file generated on Tue Sep 30 14:30:25 2003 +** (coordinated universal time) +** +** Command line: dict_creator sl.dict sl_dict.c sl_dict.h +*/ + +/* + * attribute entries - sorted by token + */ +static const +NW_WBXML_DictEntry_t NW_SL_attribute_token_0[13] = { + {0x05, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action_execute_low}, + {0x06, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action_execute_high}, + {0x07, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action_cache}, + {0x08, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href}, + {0x09, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_http___}, + {0x0a, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_http___www_}, + {0x0b, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_https___}, + {0x0c, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_https___www_}, + {0x0d, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action}, + {0x85, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__com_}, + {0x86, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__edu_}, + {0x87, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__net_}, + {0x88, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__org_} +}; + +/* +** WARNING +** +** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED +** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM +** +** This file generated on Tue Sep 30 14:30:25 2003 +** (coordinated universal time) +** +** Command line: dict_creator sl.dict sl_dict.c sl_dict.h +*/ + +/* + * attribute entries - sorted by name + */ +static const +NW_Byte NW_SL_attribute_name_0[13] = { + 9, + 10, + 11, + 12, + 8, + 2, + 1, + 0, + 3, + 4, + 5, + 6, + 7, +}; + +/* + * Tag codepage table + */ +static const +NW_WBXML_Codepage_t NW_SL_tag_codepages[1] = { + {1, (NW_WBXML_DictEntry_t*)&NW_SL_tag_token_0[0], (NW_Byte *)&NW_SL_tag_name_0[0]}, +}; + +/* + * Attribute codepage table + */ +static const +NW_WBXML_Codepage_t NW_SL_attribute_codepages[1] = { + {13, (NW_WBXML_DictEntry_t*)&NW_SL_attribute_token_0[0], (NW_Byte *)&NW_SL_attribute_name_0[0]}, +}; + +static const NW_Ucs2 NW_SL_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','S','L',' ','1','.','0','/','/','E','N','\0'}; + +/* + * Dictionary + */ +const NW_WBXML_Dictionary_t NW_SL_WBXMLDictionary = { + NW_SL_PublicId, + (NW_Ucs2 *)NW_SL_docType, + 1, (NW_WBXML_Codepage_t*)&NW_SL_tag_codepages[0], + 1, (NW_WBXML_Codepage_t*)&NW_SL_attribute_codepages[0], +}; + +/* +** WARNING +** +** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED +** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM +** +** This file generated on Tue Sep 30 14:30:25 2003 +** (coordinated universal time) +** +** Command line: dict_creator sl.dict sl_dict.c sl_dict.h +*/