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

📄 syncstatus.h

📁 funambol windows mobile plugin source code, the source code is taken from the funambol site
💻 H
字号:
/*
 * Copyright (C) 2003-2007 Funambol, Inc
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307  USA
 */

// SyncML Status Codes definition
#ifndef INCL_SYNC_STATUS
#define INCL_SYNC_STATUS
/** @cond DEV */

enum SyncStatus {
    STC_INVALID_CODE                                  = 0,
    // Informational 1xx
    STC_IN_PROGRESS                                   = 101,
    // Successful 2xx
    STC_OK                                            = 200,
    STC_ITEM_ADDED                                    = 201,
    STC_ACCEPTED_FOR_PROCESSING                       = 202,
    STC_NONAUTHORITATIVE_RESPONSE                     = 203,
    STC_NO_CONTENT                                    = 204,
    STC_RESET_CONTENT                                 = 205,
    STC_PARTIAL_CONTENT                               = 206,
    STC_CONFLICT_RESOLVED_WITH_MERGE                  = 207,
    STC_CONFLICT_RESOLVED_WITH_CLIENT_COMMAND_WINNING = 208,
    STC_CONFLICT_RESOLVED_WITH_DUPLICATE              = 209,
    STC_DELETE_WITHOUT_ARCHIVE                        = 210,
    STC_ITEM_NOT_DELETED                              = 211,
    STC_AUTHENTICATION_ACCEPTED                       = 212,
    STC_CHUNKED_ITEM_ACCEPTED                         = 213,
    STC_OPERATION_CANCELLED_OK                        = 214,
    STC_NOT_EXECUTED                                  = 215,
    STC_ATOMIC_ROLLBACK_OK                            = 216,
    // Redirection 3xx
    STC_MULTIPLE_CHOICES                              = 300,
    STC_MOVED_PERMANENTLY                             = 301,
    STC_FOUND                                         = 302,
    STC_SEE_ANOTHER_URI                               = 303,
    STC_NOT_MODIFIED                                  = 304,
    STC_USE_PROXY                                     = 305,
    // Originator Exceptions 4xx
    STC_BAD_REQUEST                                   = 400,
    STC_INVALID_CREDENTIALS                           = 401,
    STC_PAYMENT_REQUIRED                              = 402,
    STC_FORBIDDEN                                     = 403,
    STC_NOT_FOUND                                     = 404,
    STC_COMMAND_NOT_ALLOWED                           = 405,
    STC_OPTIONAL_FEATURE_NOT_SUPPORTED                = 406,
    STC_MISSING_CREDENTIALS                           = 407,
    STC_REQUEST_TIMEOUT                               = 408,
    STC_UPDATE_CONFLICT                               = 409,
    STC_GONE                                          = 410,
    STC_SIZE_REQUIRED                                 = 411,
    STC_INCOMPLETE_COMMAND                            = 412,
    STC_REQUESTED_ENTITY_TOO_LARGE                    = 413,
    STC_URI_TOO_LONG                                  = 414,
    STC_UNSUPPORTED_MEDIA_TYPE                        = 415,
    STC_REQUESTED_SIZE_TOO_BIG                        = 416,
    STC_RETRY_LATER                                   = 417,
    STC_ALREADY_EXISTS                                = 418,
    STC_CONFLICT_RESOLVED_WITH_SERVER_DATA            = 419,
    STC_DEVICE_FULL                                   = 420,
    STC_UNKNOWN_SEARCH_GRAMMAR                        = 421,
    STC_BAD_CGI_SCRIPT                                = 422,
    STC_SOFT_DELETE_CONFLICT                          = 423,
    STC_OBJECT_SIZE_MISMATCH                          = 424,
    STC_PERMISSION_DENIED                             = 425,
    // Recipient Exceptions 5xx
    STC_COMMAND_FAILED                                = 500,
    STC_COMMAND_NOT_IMPLEMENTED                       = 501,
    STC_BAD_GATEWAY                                   = 502,
    STC_SERVICE_UNAVAILABLE                           = 503,
    STC_GATEWAY_TIMEOUT                               = 504,
    STC_VERSION_NOT_SUPPORTED                         = 505,
    STC_PROCESSING_ERROR                              = 506,
    STC_ATOMIC_FAILED                                 = 507,
    STC_REFRESH_REQUIRED                              = 508,
    STC_RECIPIENT_EXCEPTION_RESERVED1                 = 509,
    STC_DATASTORE_FAILURE                             = 510,
    STC_SERVER_FAILURE                                = 511,
    STC_SYNCHRONIZATION_FAILED                        = 512,
    STC_PROTOCOL_VERSION_NOT_SUPPORTED                = 513,
    STC_OPERATION_CANCELLED                           = 514,
    STC_ATOMIC_ROLLBACK_FAILED                        = 516,
    STC_ATOMIC_RESPONSE_TOO_LARGE_TO_FIT              = 517,
    /**
     * These codes are application specific; they are
     * not part of the SyncML protocol.
     */
    STC_SESSION_EXPIRED                               = 10000,
    STC_SESSION_ABORTED                               = 20000
};

/** @endcond */
#endif

⌨️ 快捷键说明

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