summaryrefslogtreecommitdiff
path: root/src/python.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/python.hh')
-rw-r--r--src/python.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/python.hh b/src/python.hh
index 6acc538b..c1655503 100644
--- a/src/python.hh
+++ b/src/python.hh
@@ -19,6 +19,7 @@ extern "C" {
#include <string>
#include <vector>
+
namespace ob {
class Client;
@@ -232,6 +233,10 @@ void python_destroy();
//! Returns 0 for success, 1 for failing to open the file, 2 for an exception
int python_exec(const std::string &path);
+bool python_get_long(const char *name, long *value);
+bool python_get_string(const char *name, otk::ustring *value);
+bool python_get_stringlist(const char *name, std::vector<otk::ustring> *value);
+
}