|
@@ -66,15 +66,15 @@ static param_export_t params[]={
|
|
* Exported functions
|
|
* Exported functions
|
|
*/
|
|
*/
|
|
static cmd_export_t cmds[] = {
|
|
static cmd_export_t cmds[] = {
|
|
- { "python_exec", (cmd_function)python_exec1, 1, NULL, 0, REQUEST_ROUTE | FAILURE_ROUTE | ONREPLY_ROUTE | BRANCH_ROUTE },
|
|
|
|
- { "python_exec", (cmd_function)python_exec2, 2, NULL, 0, REQUEST_ROUTE | FAILURE_ROUTE | ONREPLY_ROUTE | BRANCH_ROUTE },
|
|
|
|
|
|
+ { "python_exec", (cmd_function)python_exec1, 1, NULL, 0, ANY_ROUTE },
|
|
|
|
+ { "python_exec", (cmd_function)python_exec2, 2, NULL, 0, ANY_ROUTE },
|
|
{ 0, 0, 0, 0, 0, 0 }
|
|
{ 0, 0, 0, 0, 0, 0 }
|
|
};
|
|
};
|
|
|
|
|
|
/** module exports */
|
|
/** module exports */
|
|
struct module_exports exports = {
|
|
struct module_exports exports = {
|
|
"app_python", /* module name */
|
|
"app_python", /* module name */
|
|
- RTLD_NOW | RTLD_GLOBAL, /* dlopen flags */
|
|
|
|
|
|
+ DEFAULT_DLFLAGS, /* dlopen flags */
|
|
cmds, /* exported functions */
|
|
cmds, /* exported functions */
|
|
params, /* exported parameters */
|
|
params, /* exported parameters */
|
|
0, /* exported statistics */
|
|
0, /* exported statistics */
|