| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* From ppb_flash_udp_socket.idl modified Mon Sep 26 09:04:41 2011. */ | 6 /* From private/ppb_flash_udp_socket.idl modified Mon Oct 17 15:55:01 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_UDP_SOCKET_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_UDP_SOCKET_H_ |
| 9 #define PPAPI_C_PRIVATE_PPB_FLASH_UDP_SOCKET_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FLASH_UDP_SOCKET_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
| 16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
| 17 #include "ppapi/c/private/ppb_flash_tcp_socket.h" | 17 #include "ppapi/c/private/ppb_flash_net_address.h" |
| 18 | 18 |
| 19 #define PPB_FLASH_UDPSOCKET_INTERFACE_0_1 "PPB_Flash_UDPSocket;0.1" | 19 #define PPB_FLASH_UDPSOCKET_INTERFACE_0_1 "PPB_Flash_UDPSocket;0.1" |
| 20 #define PPB_FLASH_UDPSOCKET_INTERFACE PPB_FLASH_UDPSOCKET_INTERFACE_0_1 | 20 #define PPB_FLASH_UDPSOCKET_INTERFACE PPB_FLASH_UDPSOCKET_INTERFACE_0_1 |
| 21 | 21 |
| 22 /** | 22 /** |
| 23 * @file | 23 * @file |
| 24 * This file defines the <code>PPB_Flash_UDPSocket</code> interface. | 24 * This file defines the <code>PPB_Flash_UDPSocket</code> interface. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 | 27 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 struct PP_CompletionCallback callback); | 67 struct PP_CompletionCallback callback); |
| 68 /* Cancels all pending reads and writes, and closes the socket. */ | 68 /* Cancels all pending reads and writes, and closes the socket. */ |
| 69 void (*Close)(PP_Resource udp_socket); | 69 void (*Close)(PP_Resource udp_socket); |
| 70 }; | 70 }; |
| 71 /** | 71 /** |
| 72 * @} | 72 * @} |
| 73 */ | 73 */ |
| 74 | 74 |
| 75 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_UDP_SOCKET_H_ */ | 75 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_UDP_SOCKET_H_ */ |
| 76 | 76 |
| OLD | NEW |