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
3 * found in the LICENSE file. */
8 #include "ppapi/c/pp_var.h"
10 typedef int (*HandleFunc
)(struct PP_Var params
,
11 struct PP_Var
* out_var
,
14 int HandleFopen(struct PP_Var params
, struct PP_Var
* out
, const char** error
);
15 int HandleFwrite(struct PP_Var params
, struct PP_Var
* out
, const char** error
);
16 int HandleFread(struct PP_Var params
, struct PP_Var
* out
, const char** error
);
17 int HandleFseek(struct PP_Var params
, struct PP_Var
* out
, const char** error
);
18 int HandleFclose(struct PP_Var params
, struct PP_Var
* out
, const char** error
);
19 int HandleFflush(struct PP_Var params
, struct PP_Var
* out
, const char** error
);
20 int HandleStat(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
);
24 int HandleClosedir(struct PP_Var params
, struct PP_Var
* out
,
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
);
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
);
32 int HandleGetaddrinfo(struct PP_Var params
, struct PP_Var
* out
,
34 int HandleGethostbyname(struct PP_Var params
, struct PP_Var
* out
,
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
);
41 #endif /* HANDLERS_H_ */