summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-26 05:00:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-26 05:00:45 +0200
commit4b3641695ba42d0348e8eceadb02430342c1513c (patch)
treee30c163f10aa6158ac20308417f0a8d212246c2e /source4/lib/messaging
parentd5434f0b4bcf744e5a5f0e933bdcf629d42a6478 (diff)
downloadsamba-4b3641695ba42d0348e8eceadb02430342c1513c.tar.gz
samba-4b3641695ba42d0348e8eceadb02430342c1513c.tar.bz2
samba-4b3641695ba42d0348e8eceadb02430342c1513c.zip
Finish smbstatus in Python.
(This used to be commit 988508c2d3269cc88ed38df2fc207a1c0aaccc6b)
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r--source4/lib/messaging/pymessaging.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c
index e05d5eb1f1..1c22fb431a 100644
--- a/source4/lib/messaging/pymessaging.c
+++ b/source4/lib/messaging/pymessaging.c
@@ -530,6 +530,7 @@ static bool irpc_AddNdrRpcMethods(PyTypeObject *ifacetype, const struct PyNdrRpc
void initmessaging(void)
{
+ extern void initirpc(void);
PyObject *mod;
if (PyType_Ready(&irpc_ClientConnectionType) < 0)
@@ -548,6 +549,8 @@ void initmessaging(void)
if (mod == NULL)
return;
+ initirpc();
+
Py_INCREF((PyObject *)&irpc_ClientConnectionType);
PyModule_AddObject(mod, "ClientConnection", (PyObject *)&irpc_ClientConnectionType);