1 //===-- Definition of RPC opcodes used for internal tests -----------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_LIBC_TYPES_TEST_RPC_OPCODES_T_H 10 #define LLVM_LIBC_TYPES_TEST_RPC_OPCODES_T_H 11 12 // We consider the first 32768 opcodes as reserved for libc purposes. We allow 13 // extensions to use any other number without conflicting with anything else. 14 typedef enum : unsigned short { 15 RPC_TEST_NOOP = 1 << 15, 16 RPC_TEST_INCREMENT, 17 RPC_TEST_INTERFACE, 18 RPC_TEST_STREAM, 19 } rpc_test_opcode_t; 20 21 #endif // LLVM_LIBC_TYPES_TEST_RPC_OPCODES_T_H 22