34#ifndef API_MIP_RESULT_CC_H_
35#define API_MIP_RESULT_CC_H_
Export/import and other macros for C API.
mip_cc_result
API success/failure result.
@ MIP_RESULT_ERROR_DOUBLE_KEY_DISABLED
The double key feature has not been enabled.
@ MIP_RESULT_ERROR_LICENSE_NOT_REGISTERED
License not registered for tracking and revocation.
@ MIP_RESULT_ERROR_PRIVILEGED_REQUIRED
Cannot override privileged label when with standard method.
@ MIP_RESULT_ERROR_CONTENT_FORMAT_NOT_SUPPORTED
Content format is not supported.
@ MIP_RESULT_ERROR_UNKNOWN
Unknown error.
@ MIP_RESULT_ERROR_NOT_SUPPORTED_OPERATION
Opeation is not supported.
@ MIP_RESULT_ERROR_CONSENT_DENIED
An operation that required consent from the user was not granted consent.
@ MIP_RESULT_ERROR_TEMPLATE_ARCHIVED
Template has been archived and is unavailable for protection.
@ MIP_RESULT_ERROR_SERVICE_DISABLED
The user could not get access to the content due to the service being disabled.
@ MIP_RESULT_ERROR_FILE_IO_ERROR
General file i/o error.
@ MIP_RESULT_ERROR_LABEL_NOT_FOUND
Label ID is not recognized.
@ MIP_RESULT_ERROR_PROXY_AUTH
Proxy authentication failed.
@ MIP_RESULT_ERROR_NETWORK
General network error (e.g.
@ MIP_RESULT_ERROR_NO_PERMISSIONS
The user could not get access to the content (e.g.
@ MIP_RESULT_ERROR_BAD_INPUT
Application passed bad input.
@ MIP_RESULT_ERROR_JUSTIFICATION_REQUIRED
Justification should be provided to complete the action on the file.
@ MIP_RESULT_ERROR_DEPRECATED_API
Caller invoked a deprecated API.
@ MIP_RESULT_ERROR_INTERNAL
Unexpected internal error.
@ MIP_RESULT_ERROR_NO_POLICY
No policy is configured for user/tenant.
@ MIP_RESULT_ERROR_TEMPLATE_NOT_FOUND
Template ID is not recognized.
@ MIP_RESULT_ERROR_ADHOC_PROTECTION_REQUIRED
Ad-hoc protection should be set to complete the action on the file.
@ MIP_RESULT_ERROR_LABEL_DISABLED
Label is disabled or inactive.
@ MIP_RESULT_ERROR_ACCESS_DENIED
User does not have rights to access the service.
@ MIP_RESULT_ERROR_INSUFFICIENT_BUFFER
Buffer provided by application is too small.
@ MIP_RESULT_ERROR_NO_AUTH_TOKEN
The user could not get access to the content due to an empty auth token.
@ MIP_RESULT_ERROR_OPERATION_CANCELLED
Operation cancelled.
@ MIP_RESULT_ERROR_CUSTOMER_KEY_UNAVAILABLE
Bring your own encryption key needed and unavailable.