Julian Hall | 6c59e4e | 2020-11-23 17:50:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef RPC_STATUS_H |
| 8 | #define RPC_STATUS_H |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif |
| 15 | |
| 16 | /** \brief RPC status code type |
| 17 | * |
| 18 | * Used for returning the status of an RPC transaction. This is |
| 19 | * different from the opstatus which is used to return an endpoint |
| 20 | * specific status value. |
| 21 | */ |
| 22 | typedef int32_t rpc_status_t; |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | } |
| 26 | #endif |
| 27 | |
| 28 | #endif /* RPC_STATUS_H */ |