Chromium Code Reviews| Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_tcp_server_socket_private.srpc |
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_tcp_server_socket_private.srpc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_tcp_server_socket_private.srpc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5d4c91554c1e3ec34b513d24db2d66210894bffa |
| --- /dev/null |
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_tcp_server_socket_private.srpc |
| @@ -0,0 +1,47 @@ |
| +# 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. |
| +# |
| +# RPC methods used to implement PPB_TCPSocket_Private calls from the |
| +# plugin. See ppapi/c/private/ppb_tcp_server_socket_private.h for |
| +# interface details. |
| + |
| +{ |
| + 'name': 'PpbTCPServerSocketPrivateRpc', |
| + 'rpcs': [ |
| + {'name': 'PPB_TCPServerSocket_Private_Create', |
| + 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
|
bbudge
2012/02/22 20:54:54
nit: These comments are mostly useful when the typ
ygorshenin1
2012/02/24 08:14:57
Done.
|
| + ], |
| + 'outputs': [['resource', 'PP_Resource'], # PP_Resource |
| + ] |
| + }, |
| + {'name': 'PPB_TCPServerSocket_Private_IsTCPServerSocket', |
| + 'inputs': [['resource', 'PP_Resource'], # PP_Resource |
| + ], |
| + 'outputs': [['is_tcp_server_socket', 'int32_t'], # PP_Bool |
| + ] |
| + }, |
| + {'name': 'PPB_TCPServerSocket_Private_Listen', |
| + 'inputs': [['tcp_server_socket', 'PP_Resource'], # PP_Resource |
| + ['addr', 'char[]'], # PP_NetAddress_Private* |
| + ['backlog', 'int32_t'], |
| + ['callback_id', 'int32_t'], # PP_CompletionCallback |
| + ], |
| + 'outputs': [['pp_error', 'int32_t'], |
| + ] |
| + }, |
| + {'name': 'PPB_TCPServerSocket_Private_Accept', |
| + 'inputs': [['tcp_server_socket', 'PP_Resource'], # PP_Resource |
| + ['callback_id', 'int32_t'], # PP_CompletionCallback |
| + ], |
| + 'outputs': [['tcp_socket', 'PP_Resource'], # PP_Resource |
| + ['pp_error', 'int32_t'], |
| + ] |
| + }, |
| + {'name': 'PPB_TCPServerSocket_Private_StopListening', |
| + 'inputs': [['tcp_server_socket', 'PP_Resource'], |
| + ], |
| + 'outputs': [] |
| + }, |
| + ] |
| +} |