Syntax
typedef enum {
  VM_HTTPS_OK = 0,
  VM_HTTPS_ERROR_UNKNOWN = -1,
  VM_HTTPS_ERROR_SEND = -2,
  VM_HTTPS_ERROR_INVALID_PARAMETER = -3,
  VM_HTTPS_ERROR_INVALID_HEADER = -4,
  VM_HTTPS_ERROR_INVALID_CHANNEL_ID = -5,
  VM_HTTPS_ERROR_INVALID_REQUEST_ID = -6,
  VM_HTTPS_ERROR_INVALID_SEQUENCE_NUMBER = -7,
  VM_HTTPS_ERROR_INVALID_DEFAULT_PROFILE = -8,
  VM_HTTPS_ERROR_INACTIVE_CHANNEL = -9,
  VM_HTTPS_ERROR_INVALID_CONNECTION_TYPE = -10,
  VM_HTTPS_ERROR_NO_RESOURCE = -11,
  VM_HTTPS_ERROR_ACCESS_DENY = -12,
  VM_HTTPS_ERROR_PENDING_REQUEST_EXIST = -13,
  VM_HTTPS_ERROR_FILE_ACCESS = -14,
  VM_HTTPS_ERROR_REQUEST_ABORT = -15,
  VM_HTTPS_ERROR_NOT_FOUND = -16,
  VM_HTTPS_ERROR_REQUEST_TOO_LARGE = -17,
  VM_HTTPS_ERROR_REQUEST_NOT_SUPPORT = -18,
  VM_HTTPS_ERROR_DNS_RESOLVE = -19,
  VM_HTTPS_ERROR_USE_PROXY = -20,
  VM_HTTPS_ERROR_NOT_READY = -21,
  VM_HTTPS_ERROR_NO_CONTEXT_AVAILABLE = -22,
  VM_HTTPS_ERROR_CONTEXT_NOT_REGISTERED = -23,
  VM_HTTPS_RESULT_MAX = 0x7F
} VM_HTTPS_RESULT;
ContentsIndex
PreviousUpNext
VM_HTTPS_RESULT
Syntax
typedef enum {
  VM_HTTPS_OK = 0,
  VM_HTTPS_ERROR_UNKNOWN = -1,
  VM_HTTPS_ERROR_SEND = -2,
  VM_HTTPS_ERROR_INVALID_PARAMETER = -3,
  VM_HTTPS_ERROR_INVALID_HEADER = -4,
  VM_HTTPS_ERROR_INVALID_CHANNEL_ID = -5,
  VM_HTTPS_ERROR_INVALID_REQUEST_ID = -6,
  VM_HTTPS_ERROR_INVALID_SEQUENCE_NUMBER = -7,
  VM_HTTPS_ERROR_INVALID_DEFAULT_PROFILE = -8,
  VM_HTTPS_ERROR_INACTIVE_CHANNEL = -9,
  VM_HTTPS_ERROR_INVALID_CONNECTION_TYPE = -10,
  VM_HTTPS_ERROR_NO_RESOURCE = -11,
  VM_HTTPS_ERROR_ACCESS_DENY = -12,
  VM_HTTPS_ERROR_PENDING_REQUEST_EXIST = -13,
  VM_HTTPS_ERROR_FILE_ACCESS = -14,
  VM_HTTPS_ERROR_REQUEST_ABORT = -15,
  VM_HTTPS_ERROR_NOT_FOUND = -16,
  VM_HTTPS_ERROR_REQUEST_TOO_LARGE = -17,
  VM_HTTPS_ERROR_REQUEST_NOT_SUPPORT = -18,
  VM_HTTPS_ERROR_DNS_RESOLVE = -19,
  VM_HTTPS_ERROR_USE_PROXY = -20,
  VM_HTTPS_ERROR_NOT_READY = -21,
  VM_HTTPS_ERROR_NO_CONTEXT_AVAILABLE = -22,
  VM_HTTPS_ERROR_CONTEXT_NOT_REGISTERED = -23,
  VM_HTTPS_RESULT_MAX = 0x7F
} VM_HTTPS_RESULT;
Description

This enum indicates the result and error code of a request.

File

vmhttps.h

Members
Members 
Description 
VM_HTTPS_OK = 0 
The success. 
VM_HTTPS_ERROR_UNKNOWN = -1 
The unknown error. 
VM_HTTPS_ERROR_SEND = -2 
The fail to write content. 
VM_HTTPS_ERROR_INVALID_PARAMETER = -3 
The invalid parameters. 
VM_HTTPS_ERROR_INVALID_HEADER = -4 
The invalid headers. 
VM_HTTPS_ERROR_INVALID_CHANNEL_ID = -5 
The invalid channel ID. 
VM_HTTPS_ERROR_INVALID_REQUEST_ID = -6 
The invalid request ID. 
VM_HTTPS_ERROR_INVALID_SEQUENCE_NUMBER = -7 
The incorrect sequence number in vm_https_read_content and vm_https_post_callback
VM_HTTPS_ERROR_INVALID_DEFAULT_PROFILE = -8 
The invalid default profile. 
VM_HTTPS_ERROR_INACTIVE_CHANNEL = -9 
The inactive channel. 
VM_HTTPS_ERROR_INVALID_CONNECTION_TYPE = -10 
The invalid connection type. 
VM_HTTPS_ERROR_NO_RESOURCE = -11 
The resource limitation. 
VM_HTTPS_ERROR_ACCESS_DENY = -12 
The access deny. 
VM_HTTPS_ERROR_PENDING_REQUEST_EXIST = -13 
The pending request exists. 
VM_HTTPS_ERROR_FILE_ACCESS = -14 
The file system operation error. 
VM_HTTPS_ERROR_REQUEST_ABORT = -15 
The request aborted. 
VM_HTTPS_ERROR_NOT_FOUND = -16 
The not found. 
VM_HTTPS_ERROR_REQUEST_TOO_LARGE = -17 
The message header is too large. 
VM_HTTPS_ERROR_REQUEST_NOT_SUPPORT = -18 
The request is not supported. 
VM_HTTPS_ERROR_DNS_RESOLVE = -19 
The DNS error. 
VM_HTTPS_ERROR_USE_PROXY = -20 
The proxy error. 
VM_HTTPS_ERROR_NOT_READY = -21 
The HTTPS is not ready yet. 
VM_HTTPS_ERROR_NO_CONTEXT_AVAILABLE = -22 
The HTTPS free context not available, please retry after some time. 
VM_HTTPS_ERROR_CONTEXT_NOT_REGISTERED = -23 
The when availing HTTPS service without register context. 
VM_HTTPS_RESULT_MAX = 0x7F 
The ensure that compiler treats this enum as 32-bit integer request. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.