src/include/common/syncml/core/TagNames.h

00001 /*
00002  * Funambol is a mobile platform developed by Funambol, Inc. 
00003  * Copyright (C) 2003 - 2007 Funambol, Inc.
00004  * 
00005  * This program is free software; you can redistribute it and/or modify it under
00006  * the terms of the GNU Affero General Public License version 3 as published by
00007  * the Free Software Foundation with the addition of the following permission 
00008  * added to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED
00009  * WORK IN WHICH THE COPYRIGHT IS OWNED BY FUNAMBOL, FUNAMBOL DISCLAIMS THE 
00010  * WARRANTY OF NON INFRINGEMENT  OF THIRD PARTY RIGHTS.
00011  * 
00012  * This program is distributed in the hope that it will be useful, but WITHOUT
00013  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00014  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
00015  * details.
00016  * 
00017  * You should have received a copy of the GNU Affero General Public License 
00018  * along with this program; if not, see http://www.gnu.org/licenses or write to
00019  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00020  * MA 02110-1301 USA.
00021  * 
00022  * You can contact Funambol, Inc. headquarters at 643 Bair Island Road, Suite 
00023  * 305, Redwood City, CA 94063, USA, or at email address info@funambol.com.
00024  * 
00025  * The interactive user interfaces in modified source and object code versions
00026  * of this program must display Appropriate Legal Notices, as required under
00027  * Section 5 of the GNU Affero General Public License version 3.
00028  * 
00029  * In accordance with Section 7(b) of the GNU Affero General Public License
00030  * version 3, these Appropriate Legal Notices must retain the display of the
00031  * "Powered by Funambol" logo. If the display of the logo is not reasonably 
00032  * feasible for technical reasons, the Appropriate Legal Notices must display
00033  * the words "Powered by Funambol".
00034  */
00035 
00036 
00037 #ifndef INCL_TAG_NAMES
00038 #define INCL_TAG_NAMES
00039 
00041 // The class includes the name of the tag that are used into the parser
00042 
00043 #include "base/fscapi.h"
00044 #include "syncml/core/core.h"
00045 
00046 #define SYNC_ML             "SyncML"
00047 #define SYNC_BODY           "SyncBody"
00048 #define SYNC_HDR            "SyncHdr"
00049 #define SESSION_ID          "SessionID"
00050 #define VER_PROTO           "VerProto"
00051 #define VER_DTD             "VerDTD"
00052 #define MSG_ID              "MsgID"
00053 #define RESP_URI            "RespURI"
00054 #define NO_RESP             "NoResp"
00055 #define NO_RESULTS          "NoResults"
00056 #define ARCHIVE             "Archive"
00057 #define SFT_DEL             "SftDel"
00058 #define SOURCE              "Source"
00059 #define TARGET              "Target"
00060 #define LOC_URI             "LocURI"
00061 #define LOC_NAME            "LocName"
00062 #define ANCHOR              "Anchor"
00063 #define CRED                "Cred"
00064 #define LAST                "Last"
00065 #define NEXT                "Next"
00066 #define NEXT_NONCE          "NextNonce"
00067 #define FREE_MEM            "FreeMem"
00068 #define SHARED_MEM          "SharedMem"
00069 #define FREE_ID             "FreeID"
00070 #define MAX_MEM             "MaxMem"
00071 #define MAX_ID              "MaxID"
00072 #define FORMAT              "Format"
00073 #define TYPE                "Type"
00074 #define MARK                "Mark"
00075 #define VERSIONSTR          "Version"
00076 #define MAX_MESSAGE_SIZE    "MaxMsgSize"
00077 #define MAX_OBJ_SIZE        "MaxObjSize"
00078 #define SIZE                "Size"
00079 #define VERSIONSTR          "Version"
00080 #define DATA                "Data"
00081 #define FINAL_MSG           "Final"
00082 #define NO_RESP             "NoResp"
00083 #define CMD_ID              "CmdID"
00084 #define COMPLEX_DATA        "Data"
00085 #define MORE_DATA           "MoreData"
00086 #define META                "Meta"
00087 #define STATUS              "Status"
00088 #define MSG_REF             "MsgRef"
00089 #define CMD_REF             "CmdRef"
00090 #define TARGET_REF          "TargetRef"
00091 #define SOURCE_REF          "SourceRef"
00092 #define CHAL                "Chal"
00093 #define CMD                 "Cmd"
00094 #define ADD                 "Add"
00095 #define SYNC                "Sync"
00096 #define REPLACE             "Replace"
00097 #define DEL                 "Delete"
00098 #define MAP                 "Map"
00099 #define MAP_ITEM            "MapItem"
00100 #define COPY                "Copy"
00101 #define ATOMIC              "Atomic"
00102 #define SEQUENCE            "Sequence"
00103 #define LANG                "Lang"
00104 #define GET                 "Get"
00105 #define PUT                 "Put"
00106 #define SUPPORT_NUMBER_OF_CHANGES "SupportNumberOfChanges"
00107 #define NUMBER_OF_CHANGES   "NumberOfChanges"
00108 #define SUPPORT_LARGE_OBJECT "SupportLargeObjs"
00109 #define UTC                 "UTC"
00110 #define DATA_STORE          "DataStore"
00111 #define MAN                 "Man"
00112 #define MOD                 "Mod"
00113 #define OEM                 "OEM"
00114 #define FWV                 "FwV"
00115 #define SWV                 "SwV"
00116 #define HWV                 "HwV"
00117 #define DEV_ID              "DevID"
00118 #define DEV_TYP             "DevTyp"
00119 #define DEV_INF             "DevInf"
00120 #define DISPLAY_NAME        "DisplayName"
00121 #define MAX_GUID_SIZE       "MaxGUIDSize"
00122 #define RX_PREF             "Rx-Pref"
00123 #define TX_PREF             "Tx-Pref"
00124 #define CT_TYPE             "CTType"
00125 #define VER_CT              "VerCT"
00126 #define DS_MEM              "DSMem"
00127 #define SYNC_CAP            "SyncCap"
00128 #define SYNC_TYPE           "SyncType"
00129 #define RX                  "Rx"
00130 #define TX                  "Tx"
00131 #define CT_CAP              "CTCap"
00132 #define EXT                 "Ext"
00133 #define XNAM                "XNam"
00134 #define XVAL                "XVal"
00135 #define RESULTS             "Results"
00136 #define EXEC                "Exec"
00137 #define SEARCH              "Search"
00138 #define TARGET_PARENT       "TargetParent"
00139 #define SOURCE_PARENT       "SourceParent"
00140 
00141 // parameters
00142 #define METINFO             "xmlns=\"syncml:metinf\""
00143 #define DEVINF              "xmlns=\"syncml:devinf\""
00144 
00145 // special values
00146 #define DEVINF_URI          "./devinf11"
00147 #define DEVINF_FORMAT       "application/vnd.syncml-devinf+xml"
00148 
00149 // Commands
00150 #define ALERT               "Alert"
00151 #define ITEM                "Item"
00152 #define FILTER              "Filter"
00153 #define RECORD              "Record"
00154 #define FIELD               "Field"
00155 #define PROPERTY            "Property"
00156 #define DISPLAY_NAME        "DisplayName"
00157 #define PROP_NAME           "PropName"
00158 #define DATA_TYPE           "DataType"
00159 #define MAX_OCCUR           "MaxOccur"
00160 #define MAX_SIZE            "MaxSize"
00161 #define NO_TRUNCATE         "NoTruncate"
00162 #define PROP_PARAM          "PropParam"
00163 #define PARAM_NAME          "ParamName"
00164 #define VAL_ENUM            "ValEnum"
00165 #define VAL_ENUM            "ValEnum"
00166 #define FILTER_TYPE         "FilterType"
00167 
00169 #endif
00170 
00171 
00172 
00173 
00174 
00175 

Generated on Tue Jun 10 17:20:22 2008 for Funambol C++ Client Library by  doxygen 1.5.2