diff --git a/include/casa_status.h b/include/casa_status.h index 7f75d847..64ca028a 100644 --- a/include/casa_status.h +++ b/include/casa_status.h @@ -87,8 +87,9 @@ typedef uint32_t CasaStatus; // in an effort to avoid conflict with other system components. // -#define CASA_FACILITY_AUTHTOKEN 0x7FF -#define CASA_FACILITY_KRB5TOKEN 0x7FE +#define CASA_FACILITY_AUTHTOKEN 0x7FF +#define CASA_FACILITY_KRB5TOKEN 0x7FE +#define CASA_FACILITY_PWTOKEN 0x7FE // // Codes above FACILITY_SPECIFIC are component specific status codes. @@ -131,6 +132,10 @@ typedef uint32_t CasaStatus; #define CASA_STATUS_AUTHENTICATION_FAILURE ((CasaStatus)0x0000001B) #define CASA_STATUS_CONFIGURATION_ERROR ((CasaStatus)0x0000001C) #define CASA_STATUS_LIBRARY_LOAD_FAILURE ((CasaStatus)0x0000001D) +#define CASA_STATUS_AUTH_SERVER_UNAVAILABLE ((CasaStatus)0x0000001E) +#define CASA_STATUS_PROTOCOL_ERROR ((CasaStatus)0x0000001F) +#define CASA_STATUS_SERVER_ERROR ((CasaStatus)0x00000020) +#define CASA_STATUS_NO_CREDENTIALS ((CasaStatus)0x00000021) //===[ Macro definitions ]============================== @@ -195,6 +200,10 @@ typedef uint32_t CasaStatus; //===[ Global Variables ]============================== +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif // #if defined(__cplusplus) || defined(c_plusplus) + #endif // _CASA_STATUS_H_ //=========================================================================