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 | 5 |
6 #ifndef HANDLERS_H_ | 6 #ifndef HANDLERS_H_ |
7 #define HANDLERS_H_ | 7 #define HANDLERS_H_ |
8 | 8 |
9 #define MAX_PARAMS 4 | 9 #define MAX_PARAMS 4 |
10 | 10 |
11 typedef int (*HandleFunc)(int num_params, char** params, char** output); | 11 typedef int (*HandleFunc)(int num_params, char** params, char** output); |
12 | 12 |
13 int HandleFopen(int num_params, char** params, char** output); | 13 int HandleFopen(int num_params, char** params, char** output); |
14 int HandleFwrite(int num_params, char** params, char** output); | 14 int HandleFwrite(int num_params, char** params, char** output); |
15 int HandleFread(int num_params, char** params, char** output); | 15 int HandleFread(int num_params, char** params, char** output); |
16 int HandleFseek(int num_params, char** params, char** output); | 16 int HandleFseek(int num_params, char** params, char** output); |
17 int HandleFclose(int num_params, char** params, char** output); | 17 int HandleFclose(int num_params, char** params, char** output); |
18 | 18 |
19 #endif /* HANDLERS_H_ */ | 19 #endif /* HANDLERS_H_ */ |
OLD | NEW |