| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2016 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, |
| 11 struct PP_Var* out_var, | 11 struct PP_Var* out_var, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 22 int HandleOpendir(struct PP_Var params, struct PP_Var* out, const char** error); | 22 int HandleOpendir(struct PP_Var params, struct PP_Var* out, const char** error); |
| 23 int HandleReaddir(struct PP_Var params, struct PP_Var* out, const char** error); | 23 int HandleReaddir(struct PP_Var params, struct PP_Var* out, const char** error); |
| 24 int HandleClosedir(struct PP_Var params, struct PP_Var* out, | 24 int HandleClosedir(struct PP_Var params, struct PP_Var* out, |
| 25 const char** error); | 25 const char** error); |
| 26 | 26 |
| 27 int HandleMkdir(struct PP_Var params, struct PP_Var* out, const char** error); | 27 int HandleMkdir(struct PP_Var params, struct PP_Var* out, const char** error); |
| 28 int HandleRmdir(struct PP_Var params, struct PP_Var* out, const char** error); | 28 int HandleRmdir(struct PP_Var params, struct PP_Var* out, const char** error); |
| 29 int HandleChdir(struct PP_Var params, struct PP_Var* out, const char** error); | 29 int HandleChdir(struct PP_Var params, struct PP_Var* out, const char** error); |
| 30 int HandleGetcwd(struct PP_Var params, struct PP_Var* out, const char** error); | 30 int HandleGetcwd(struct PP_Var params, struct PP_Var* out, const char** error); |
| 31 | 31 |
| 32 int HandleGetaddrinfo(struct PP_Var params, struct PP_Var* out, | |
| 33 const char** error); | |
| 34 int HandleGethostbyname(struct PP_Var params, struct PP_Var* out, | |
| 35 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); | |
| 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); | |
| 40 | |
| 41 #endif /* HANDLERS_H_ */ | 32 #endif /* HANDLERS_H_ */ |
| OLD | NEW |