Whamcloud - gitweb
LU-16502 lutf: add headers to lutf C code
[fs/lustre-release.git] / lustre / tests / lutf / src / lutf_python.h
1 // SPDX-License-Identifier: GPL-2.0
2
3 /*
4  * This file is part of Lustre, http://www.lustre.org/
5  *
6  * lustre/tests/lutf/lutf_python.h
7  *
8  * Author: Amir Shehata <ashehata@whamcloud.com>
9  *
10  */
11
12 #ifndef LUTF_PYTHON_H
13 #define LUTF_PYTHON_H
14
15 #include <pthread.h>
16 #include "lutf.h"
17
18 typedef struct python_thread_data_s {
19         char **argv;
20 } python_thread_data_t;
21
22 /*
23  * python_init
24  *   Initialize the python interpreter.
25  */
26 lutf_rc_t python_init(void);
27
28 /*
29  * python_collect_agent_core
30  *   Collect core information from the specified agent
31  */
32 lutf_rc_t python_collect_agent_core(char *ip);
33
34 /*
35  * python_handle_rpc_request
36  *   Received an RPC now execute the operation in the python interpreter
37  */
38 lutf_rc_t python_handle_rpc_request(char *rpc);
39
40 #endif /* LUTF_PYTHON_H */