| Index: src/trusted/validator/validation_status.h
|
| diff --git a/src/trusted/validator/validation_status.h b/src/trusted/validator/validation_status.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..28c7ab8c2046a39da647a290cd6a471ed569b838
|
| --- /dev/null
|
| +++ b/src/trusted/validator/validation_status.h
|
| @@ -0,0 +1,26 @@
|
| +/*
|
| + * Copyright (c) 2012 The Native Client Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_VALIDATION_STATUS_H_
|
| +#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_VALIDATION_STATUS_H_
|
| +
|
| +/* Defines possible validation status values. */
|
| +typedef enum NaClValidationStatus {
|
| + /* The call to the validator succeeded. */
|
| + NaClValidationSucceeded,
|
| + /* The call to the validator failed (Reason unspecified) */
|
| + NaClValidationFailed,
|
| + /* The call to the validator failed, due to not enough memory. */
|
| + NaClValidationFailedOutOfMemory,
|
| + /* The call to the validator failed, due to it not being implemented yet. */
|
| + NaClValidationFailedNotImplemented,
|
| + /* The call to the validator failed, because the CPU is not supported. */
|
| + NaClValidationFailedCpuNotSupported,
|
| + /* The call to the validator failed, due to segment alignment issues. */
|
| + NaClValidationFailedSegmentationIssue
|
| +} NaClValidationStatus;
|
| +
|
| +#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_VALIDATION_STATUS_H_ */
|
|
|