summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/pyrpc_util.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-12-08 15:07:32 +0100
committerStefan Metzmacher <metze@samba.org>2010-12-08 19:06:52 +0100
commit63574fda0e43c18e5379654ee53e62ff7657de66 (patch)
tree1b247cc35d5016f75b8808ee0857553cafafd557 /source4/librpc/rpc/pyrpc_util.h
parente3a7a080b453529c296528b4343c1d0f8ba390bc (diff)
downloadsamba-63574fda0e43c18e5379654ee53e62ff7657de66.tar.gz
samba-63574fda0e43c18e5379654ee53e62ff7657de66.tar.bz2
samba-63574fda0e43c18e5379654ee53e62ff7657de66.zip
s4:python: add PyString_FromStringOrNULL() to pyrpc_util
metze
Diffstat (limited to 'source4/librpc/rpc/pyrpc_util.h')
-rw-r--r--source4/librpc/rpc/pyrpc_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/rpc/pyrpc_util.h b/source4/librpc/rpc/pyrpc_util.h
index f102014147..445138b9b5 100644
--- a/source4/librpc/rpc/pyrpc_util.h
+++ b/source4/librpc/rpc/pyrpc_util.h
@@ -53,4 +53,6 @@ PyObject *py_dcerpc_interface_init_helper(PyTypeObject *type, PyObject *args, Py
PyObject *py_return_ndr_struct(const char *module_name, const char *type_name,
TALLOC_CTX *r_ctx, void *r);
+PyObject *PyString_FromStringOrNULL(const char *str);
+
#endif /* __PYRPC_UTIL_H__ */