Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / reverse_service / reverse_control_rpc.h
1 /*
2  * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6 #ifndef NATIVE_CLIENT_SRC_TRUSTED_REVERSE_SERVICE_REVERSE_CONTROL_RPC_H_
7 #define NATIVE_CLIENT_SRC_TRUSTED_REVERSE_SERVICE_REVERSE_CONTROL_RPC_H_
8
9 /*
10  * Reverse channel control RPCs.  Used by the service runtime reverse
11  * setup proceedure, testing, and by the manifest proxy to add a new
12  * client channel.
13  */
14
15 #define NACL_REVERSE_CONTROL_TEST             "test:s:"
16 #define NACL_REVERSE_CONTROL_ADD_CHANNEL      "add_channel::b"
17 #define NACL_REVERSE_CONTROL_INIT_DONE        "init_done::"
18 #define NACL_REVERSE_CONTROL_REPORT_STATUS    "exit_status:i:"
19 #define NACL_REVERSE_CONTROL_POST_MESSAGE     "post_message:C:i"
20 #define NACL_REVERSE_CONTROL_CREATE_PROCESS   "create_process::ihh"
21 #define NACL_REVERSE_REQUEST_QUOTA_FOR_WRITE  "request_quota_for_write:Cll:l"
22 #define NACL_REVERSE_CONTROL_CREATE_PROCESS_INTERLOCKED \
23   "create_process_interlocked::hhi"
24
25 #endif