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

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

Generated on Fri Apr 27 12:29:19 2007 for Funambol C++ Client Library by  doxygen 1.5.2