summaryrefslogtreecommitdiff
path: root/source4/scripting/python/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/modules.h')
-rw-r--r--source4/scripting/python/modules.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/python/modules.h b/source4/scripting/python/modules.h
index e7e97aa1bf..6b242ee257 100644
--- a/source4/scripting/python/modules.h
+++ b/source4/scripting/python/modules.h
@@ -20,6 +20,9 @@
#ifndef __SAMBA_PYTHON_MODULES_H__
#define __SAMBA_PYTHON_MODULES_H__
-bool py_update_path(void);
+void py_load_samba_modules(void);
+void py_update_path(const char *bindir);
+
+#define py_iconv_convenience(mem_ctx) smb_iconv_convenience_init(mem_ctx, "ASCII", PyUnicode_GetDefaultEncoding(), true)
#endif /* __SAMBA_PYTHON_MODULES_H__ */