OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 #ifndef HANDLERS_H_ | 5 #ifndef HANDLERS_H_ |
6 #define HANDLERS_H_ | 6 #define HANDLERS_H_ |
7 | 7 |
8 #include "ppapi/c/pp_var.h" | 8 #include "ppapi/c/pp_var.h" |
9 | 9 |
10 typedef int (*HandleFunc)(struct PP_Var params, | 10 typedef int (*HandleFunc)(struct PP_Var params, |
(...skipping 21 matching lines...) Expand all Loading... |
32 int HandleGetaddrinfo(struct PP_Var params, struct PP_Var* out, | 32 int HandleGetaddrinfo(struct PP_Var params, struct PP_Var* out, |
33 const char** error); | 33 const char** error); |
34 int HandleGethostbyname(struct PP_Var params, struct PP_Var* out, | 34 int HandleGethostbyname(struct PP_Var params, struct PP_Var* out, |
35 const char** error); | 35 const char** error); |
36 int HandleConnect(struct PP_Var params, struct PP_Var* out, const char** error); | 36 int HandleConnect(struct PP_Var params, struct PP_Var* out, const char** error); |
37 int HandleSend(struct PP_Var params, struct PP_Var* out, const char** error); | 37 int HandleSend(struct PP_Var params, struct PP_Var* out, const char** error); |
38 int HandleRecv(struct PP_Var params, struct PP_Var* out, const char** error); | 38 int HandleRecv(struct PP_Var params, struct PP_Var* out, const char** error); |
39 int HandleClose(struct PP_Var params, struct PP_Var* out, const char** error); | 39 int HandleClose(struct PP_Var params, struct PP_Var* out, const char** error); |
40 | 40 |
41 #endif /* HANDLERS_H_ */ | 41 #endif /* HANDLERS_H_ */ |
OLD | NEW |