Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Macros
EmbErrorCodes.h File Reference

Result codes. More...

Go to the source code of this file.

Macros

#define EMB_SUCCESS   (0)
 
#define EMB_FAILURE   (-1)
 
#define EMB_FAILED(result)   ((result) != EMB_SUCCESS)
 
#define EMB_SUCCEEDED(result)   ((result) == EMB_SUCCESS)
 
#define EMM_CHECK_POINTER_SEVERE(_p)
 
#define EMM_CHECK_POINTER_LABEL_SEVERE(_p, _result, _label)
 
#define EMB_ERROR_BASE   (-111000)
 
#define EMB_ERROR_UNKNOWN   (EMB_ERROR_BASE - 0)
 
#define EMB_ERROR_UNSUPPORTED_VERSION   (EMB_ERROR_BASE - 1)
 
#define EMB_ERROR_INVALID_PAYLOAD_TYPE   (EMB_ERROR_BASE - 2)
 
#define EMB_ERROR_BASE64_DECODE   (EMB_ERROR_BASE - 3)
 
#define EMB_ERROR_DECOMPRESSION   (EMB_ERROR_BASE - 4)
 
#define EMB_ERROR_OCTOPUS_NODE_ID   (EMB_ERROR_BASE - 5)
 
#define EMB_ERROR_PACKET_PARSE   (EMB_ERROR_BASE - 6)
 
#define EMB_ERROR_OUT_OF_MEMORY   (EMB_ERROR_BASE - 7)
 
#define EMB_ERROR_ADD_LICENSE   (EMB_ERROR_BASE - 8)
 
#define EMB_ERROR_SUSHI_DB_PATH   (EMB_ERROR_BASE - 9)
 
#define EMB_ERROR_SQLITE   (EMB_ERROR_BASE - 10)
 
#define EMB_ERROR_DEL_STORE   (EMB_ERROR_BASE - 11)
 
#define EMB_ERROR_DB_INSERT   (EMB_ERROR_BASE - 12)
 
#define EMB_ERROR_DB_UPDATE   (EMB_ERROR_BASE - 13)
 
#define EMB_ERROR_DB_DELETE   (EMB_ERROR_BASE - 14)
 
#define EMB_ERROR_DB_CORRUPTED   (EMB_ERROR_BASE - 15)
 
#define EMB_ERROR_DB_PATH_NOT_EXISTS   (EMB_ERROR_BASE - 16)
 
#define EMB_ERROR_INVALID_LICENSE_DATA   (EMB_ERROR_BASE - 17)
 
#define EMB_ERROR_STORAGE_OPEN   (EMB_ERROR_BASE - 18)
 
#define EMB_ERROR_INVALID_PARAMETERS   (EMB_ERROR_BASE - 19)
 
#define EMB_ERROR_STORAGE_NO_ITEM   (EMB_ERROR_BASE - 20)
 
#define EMB_ERROR_STORAGE_LOOKUP   (EMB_ERROR_BASE - 21)
 
#define EMB_ERROR_INVALID_PAYLOAD   (EMB_ERROR_BASE - 22)
 
#define EMB_ERROR_INVALID_TARGET_ADDR   (EMB_ERROR_BASE - 23)
 
#define EMB_ERROR_MULTIPLE_CIDS   (EMB_ERROR_BASE - 24)
 
#define EMB_ERROR_INITIALIZATION   (EMB_ERROR_BASE - 25)
 
#define EMB_ERROR_TARGET_MISMATCH   (EMB_ERROR_BASE - 26)
 
#define EMB_ERROR_ITEM_NOT_FOUND_OR_EXPIRED   (EMB_ERROR_BASE - 27)
 
#define EMB_ERROR_STORAGE_REMOVE_ITEM   (EMB_ERROR_BASE - 28)
 
#define EMB_ERROR_ES_OWNING_THREAD   (EMB_ERROR_BASE - 29)
 
#define EMB_ERROR_OBJECT_UPDATE   (EMB_ERROR_BASE - 30)
 
#define EMB_ERROR_ITEM_WITH_WRONG_TYPE   (EMB_ERROR_BASE - 31)
 
#define EMB_ERROR_STATE_SUSPENDED   (EMB_ERROR_BASE - 32)
 
#define EMB_ERROR_STATE_REVOKED   (EMB_ERROR_BASE - 33)
 
#define EMB_ERROR_INVALID_GROUP_MASK   (EMB_ERROR_BASE - 34)
 
#define EMB_ERROR_BASE_GKO   (EMB_ERROR_BASE - 2000)
 
#define EMB_ERROR_GKO_INSERT   (EMB_ERROR_BASE_GKO - 0)
 
#define EMB_ERROR_GKO_EXPIRED   (EMB_ERROR_BASE_GKO - 1)
 
#define EMB_ERROR_INVALID_GKO_DATA   (EMB_ERROR_BASE_GKO - 2)
 
#define EMB_ERROR_INVALID_GKO_ID   (EMB_ERROR_BASE_GKO - 3)
 
#define EMB_ERROR_BASE_EPL   (EMB_ERROR_BASE - 3000)
 
#define EMB_ERROR_EPL_INSERT   (EMB_ERROR_BASE_EPL - 0)
 
#define EMB_ERROR_EPL_NO_GKO_ID   (EMB_ERROR_BASE_EPL - 1)
 
#define EMB_ERROR_EPL_EXPIRED   (EMB_ERROR_BASE_EPL - 2)
 
#define EMB_ERROR_INVALID_EPL_DATA   (EMB_ERROR_BASE_EPL - 3)
 
#define EMB_ERROR_BASE_TID   (EMB_ERROR_BASE - 4000)
 
#define EMB_ERROR_DUPLICATE_TID   (EMB_ERROR_BASE_TID - 0)
 
#define EMB_ERROR_BASE_MBB   (EMB_ERROR_BASE - 5000)
 
#define EMB_ERROR_NO_SAS_FOR_MBB   (EMB_ERROR_BASE_MBB - 0)
 
#define EMB_ERROR_BASE_EPD   (EMB_ERROR_BASE - 6000)
 
#define EMB_ERROR_PACKAGE_INSERT   (EMB_ERROR_BASE_EPD - 0)
 
#define EMB_ERROR_LCID_INSERT   (EMB_ERROR_BASE_EPD - 1)
 
#define EMB_ERROR_CIDH_INSERT   (EMB_ERROR_BASE_EPD - 2)
 
#define EMB_ERROR_PACKAGE_REMOVE   (EMB_ERROR_BASE_EPD - 3)
 
#define EMB_ERROR_PACKAGE_CONSTRAINT   (EMB_ERROR_BASE_EPD - 4)
 

Detailed Description

Result codes.

Macro Definition Documentation

◆ EMB_ERROR_ADD_LICENSE

#define EMB_ERROR_ADD_LICENSE   (EMB_ERROR_BASE - 8)

◆ EMB_ERROR_BASE

#define EMB_ERROR_BASE   (-111000)

◆ EMB_ERROR_BASE64_DECODE

#define EMB_ERROR_BASE64_DECODE   (EMB_ERROR_BASE - 3)

◆ EMB_ERROR_BASE_EPD

#define EMB_ERROR_BASE_EPD   (EMB_ERROR_BASE - 6000)

◆ EMB_ERROR_BASE_EPL

#define EMB_ERROR_BASE_EPL   (EMB_ERROR_BASE - 3000)

◆ EMB_ERROR_BASE_GKO

#define EMB_ERROR_BASE_GKO   (EMB_ERROR_BASE - 2000)

◆ EMB_ERROR_BASE_MBB

#define EMB_ERROR_BASE_MBB   (EMB_ERROR_BASE - 5000)

◆ EMB_ERROR_BASE_TID

#define EMB_ERROR_BASE_TID   (EMB_ERROR_BASE - 4000)

◆ EMB_ERROR_CIDH_INSERT

#define EMB_ERROR_CIDH_INSERT   (EMB_ERROR_BASE_EPD - 2)

◆ EMB_ERROR_DB_CORRUPTED

#define EMB_ERROR_DB_CORRUPTED   (EMB_ERROR_BASE - 15)

◆ EMB_ERROR_DB_DELETE

#define EMB_ERROR_DB_DELETE   (EMB_ERROR_BASE - 14)

◆ EMB_ERROR_DB_INSERT

#define EMB_ERROR_DB_INSERT   (EMB_ERROR_BASE - 12)

◆ EMB_ERROR_DB_PATH_NOT_EXISTS

#define EMB_ERROR_DB_PATH_NOT_EXISTS   (EMB_ERROR_BASE - 16)

◆ EMB_ERROR_DB_UPDATE

#define EMB_ERROR_DB_UPDATE   (EMB_ERROR_BASE - 13)

◆ EMB_ERROR_DECOMPRESSION

#define EMB_ERROR_DECOMPRESSION   (EMB_ERROR_BASE - 4)

◆ EMB_ERROR_DEL_STORE

#define EMB_ERROR_DEL_STORE   (EMB_ERROR_BASE - 11)

◆ EMB_ERROR_DUPLICATE_TID

#define EMB_ERROR_DUPLICATE_TID   (EMB_ERROR_BASE_TID - 0)

◆ EMB_ERROR_EPL_EXPIRED

#define EMB_ERROR_EPL_EXPIRED   (EMB_ERROR_BASE_EPL - 2)

◆ EMB_ERROR_EPL_INSERT

#define EMB_ERROR_EPL_INSERT   (EMB_ERROR_BASE_EPL - 0)

◆ EMB_ERROR_EPL_NO_GKO_ID

#define EMB_ERROR_EPL_NO_GKO_ID   (EMB_ERROR_BASE_EPL - 1)

◆ EMB_ERROR_ES_OWNING_THREAD

#define EMB_ERROR_ES_OWNING_THREAD   (EMB_ERROR_BASE - 29)

◆ EMB_ERROR_GKO_EXPIRED

#define EMB_ERROR_GKO_EXPIRED   (EMB_ERROR_BASE_GKO - 1)

◆ EMB_ERROR_GKO_INSERT

#define EMB_ERROR_GKO_INSERT   (EMB_ERROR_BASE_GKO - 0)

◆ EMB_ERROR_INITIALIZATION

#define EMB_ERROR_INITIALIZATION   (EMB_ERROR_BASE - 25)

◆ EMB_ERROR_INVALID_EPL_DATA

#define EMB_ERROR_INVALID_EPL_DATA   (EMB_ERROR_BASE_EPL - 3)

◆ EMB_ERROR_INVALID_GKO_DATA

#define EMB_ERROR_INVALID_GKO_DATA   (EMB_ERROR_BASE_GKO - 2)

◆ EMB_ERROR_INVALID_GKO_ID

#define EMB_ERROR_INVALID_GKO_ID   (EMB_ERROR_BASE_GKO - 3)

◆ EMB_ERROR_INVALID_GROUP_MASK

#define EMB_ERROR_INVALID_GROUP_MASK   (EMB_ERROR_BASE - 34)

◆ EMB_ERROR_INVALID_LICENSE_DATA

#define EMB_ERROR_INVALID_LICENSE_DATA   (EMB_ERROR_BASE - 17)

◆ EMB_ERROR_INVALID_PARAMETERS

#define EMB_ERROR_INVALID_PARAMETERS   (EMB_ERROR_BASE - 19)

◆ EMB_ERROR_INVALID_PAYLOAD

#define EMB_ERROR_INVALID_PAYLOAD   (EMB_ERROR_BASE - 22)

◆ EMB_ERROR_INVALID_PAYLOAD_TYPE

#define EMB_ERROR_INVALID_PAYLOAD_TYPE   (EMB_ERROR_BASE - 2)

◆ EMB_ERROR_INVALID_TARGET_ADDR

#define EMB_ERROR_INVALID_TARGET_ADDR   (EMB_ERROR_BASE - 23)

◆ EMB_ERROR_ITEM_NOT_FOUND_OR_EXPIRED

#define EMB_ERROR_ITEM_NOT_FOUND_OR_EXPIRED   (EMB_ERROR_BASE - 27)

◆ EMB_ERROR_ITEM_WITH_WRONG_TYPE

#define EMB_ERROR_ITEM_WITH_WRONG_TYPE   (EMB_ERROR_BASE - 31)

◆ EMB_ERROR_LCID_INSERT

#define EMB_ERROR_LCID_INSERT   (EMB_ERROR_BASE_EPD - 1)

◆ EMB_ERROR_MULTIPLE_CIDS

#define EMB_ERROR_MULTIPLE_CIDS   (EMB_ERROR_BASE - 24)

◆ EMB_ERROR_NO_SAS_FOR_MBB

#define EMB_ERROR_NO_SAS_FOR_MBB   (EMB_ERROR_BASE_MBB - 0)

◆ EMB_ERROR_OBJECT_UPDATE

#define EMB_ERROR_OBJECT_UPDATE   (EMB_ERROR_BASE - 30)

◆ EMB_ERROR_OCTOPUS_NODE_ID

#define EMB_ERROR_OCTOPUS_NODE_ID   (EMB_ERROR_BASE - 5)

◆ EMB_ERROR_OUT_OF_MEMORY

#define EMB_ERROR_OUT_OF_MEMORY   (EMB_ERROR_BASE - 7)

◆ EMB_ERROR_PACKAGE_CONSTRAINT

#define EMB_ERROR_PACKAGE_CONSTRAINT   (EMB_ERROR_BASE_EPD - 4)

◆ EMB_ERROR_PACKAGE_INSERT

#define EMB_ERROR_PACKAGE_INSERT   (EMB_ERROR_BASE_EPD - 0)

◆ EMB_ERROR_PACKAGE_REMOVE

#define EMB_ERROR_PACKAGE_REMOVE   (EMB_ERROR_BASE_EPD - 3)

◆ EMB_ERROR_PACKET_PARSE

#define EMB_ERROR_PACKET_PARSE   (EMB_ERROR_BASE - 6)

◆ EMB_ERROR_SQLITE

#define EMB_ERROR_SQLITE   (EMB_ERROR_BASE - 10)

◆ EMB_ERROR_STATE_REVOKED

#define EMB_ERROR_STATE_REVOKED   (EMB_ERROR_BASE - 33)

◆ EMB_ERROR_STATE_SUSPENDED

#define EMB_ERROR_STATE_SUSPENDED   (EMB_ERROR_BASE - 32)

◆ EMB_ERROR_STORAGE_LOOKUP

#define EMB_ERROR_STORAGE_LOOKUP   (EMB_ERROR_BASE - 21)

◆ EMB_ERROR_STORAGE_NO_ITEM

#define EMB_ERROR_STORAGE_NO_ITEM   (EMB_ERROR_BASE - 20)

◆ EMB_ERROR_STORAGE_OPEN

#define EMB_ERROR_STORAGE_OPEN   (EMB_ERROR_BASE - 18)

◆ EMB_ERROR_STORAGE_REMOVE_ITEM

#define EMB_ERROR_STORAGE_REMOVE_ITEM   (EMB_ERROR_BASE - 28)

◆ EMB_ERROR_SUSHI_DB_PATH

#define EMB_ERROR_SUSHI_DB_PATH   (EMB_ERROR_BASE - 9)

◆ EMB_ERROR_TARGET_MISMATCH

#define EMB_ERROR_TARGET_MISMATCH   (EMB_ERROR_BASE - 26)

◆ EMB_ERROR_UNKNOWN

#define EMB_ERROR_UNKNOWN   (EMB_ERROR_BASE - 0)

◆ EMB_ERROR_UNSUPPORTED_VERSION

#define EMB_ERROR_UNSUPPORTED_VERSION   (EMB_ERROR_BASE - 1)

◆ EMB_FAILED

#define EMB_FAILED (   result)    ((result) != EMB_SUCCESS)

◆ EMB_FAILURE

#define EMB_FAILURE   (-1)

◆ EMB_SUCCEEDED

#define EMB_SUCCEEDED (   result)    ((result) == EMB_SUCCESS)

◆ EMB_SUCCESS

#define EMB_SUCCESS   (0)

◆ EMM_CHECK_POINTER_LABEL_SEVERE

#define EMM_CHECK_POINTER_LABEL_SEVERE (   _p,
  _result,
  _label 
)
Value:
do { \
if ((_p) == NULL) { \
NPT_CHECK_LABEL_SEVERE(_result, _label); \
} \
} while(0)
#define EMB_ERROR_OUT_OF_MEMORY
Definition: EmbErrorCodes.h:59
#define NULL
Definition: WsbTypes.h:60

◆ EMM_CHECK_POINTER_SEVERE

#define EMM_CHECK_POINTER_SEVERE (   _p)
Value:
do { \
if ((_p) == NULL) { \
NPT_CHECK_SEVERE(EMB_ERROR_OUT_OF_MEMORY); \
} \
} while(0)
#define EMB_ERROR_OUT_OF_MEMORY
Definition: EmbErrorCodes.h:59
#define NULL
Definition: WsbTypes.h:60