Whamcloud - gitweb
LU-10973 lnet: initial LUTF C infrastructure
[fs/lustre-release.git] / lustre / tests / lutf / src / lutf_python.h
1 #ifndef LUTF_PYTHON_H
2 #define LUTF_PYTHON_H
3
4 #include <pthread.h>
5 #include "lutf.h"
6
7 typedef struct python_thread_data_s {
8         char **argv;
9 } python_thread_data_t;
10
11 /*
12  * python_init
13  *   Initialize the python interpreter.
14  */
15 lutf_rc_t python_init(void);
16
17 /*
18  * python_collect_agent_core
19  *   Collect core information from the specified agent
20  */
21 lutf_rc_t python_collect_agent_core(char *ip);
22
23 /*
24  * python_handle_rpc_request
25  *   Received an RPC now execute the operation in the python interpreter
26  */
27 lutf_rc_t python_handle_rpc_request(char *rpc);
28
29 #endif /* LUTF_PYTHON_H */