summaryrefslogtreecommitdiffstats
path: root/pywrap/pcipywrap.i
diff options
context:
space:
mode:
Diffstat (limited to 'pywrap/pcipywrap.i')
-rw-r--r--pywrap/pcipywrap.i5
1 files changed, 4 insertions, 1 deletions
diff --git a/pywrap/pcipywrap.i b/pywrap/pcipywrap.i
index f08ceb7..697820d 100644
--- a/pywrap/pcipywrap.i
+++ b/pywrap/pcipywrap.i
@@ -4,7 +4,7 @@
#include "pcipywrap.h"
%}
-extern void __redirect_logs_to_exeption();
+extern void redirect_logs_to_exeption();
typedef struct {
%extend {
@@ -29,5 +29,8 @@ typedef struct {
PyObject* lock(const char *lock_id);
PyObject* try_lock(const char *lock_id);
PyObject* unlock(const char *lock_id);
+
+ PyObject* get_scripts_list();
+ PyObject* run_script(const char* script_name, PyObject* value);
}
} Pcipywrap;