Remove includes of py_*.h, which are no longer generated.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 22 Dec 2008 03:21:20 +0000 (04:21 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 22 Dec 2008 03:21:20 +0000 (04:21 +0100)
source4/lib/messaging/pymessaging.c
source4/scripting/python/pyglue.c

index 7a5fdb34bff2e6896758d36f1d762ad06e773e98..9f04bf0c6d1914d94a615fff66bf5ccaae937a62 100644 (file)
@@ -29,7 +29,6 @@
 #include "lib/events/events.h"
 #include "cluster/cluster.h"
 #include "param/param.h"
-#include "librpc/gen_ndr/py_irpc.h"
 
 PyAPI_DATA(PyTypeObject) messaging_Type;
 PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType;
@@ -37,6 +36,9 @@ PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType;
 /* FIXME: This prototype should be in param/pyparam.h */
 struct loadparm_context *py_default_loadparm_context(TALLOC_CTX *mem_ctx);
 
+/* FIXME: This prototype should be in py_irpc.h, or shared otherwise */
+extern const struct PyNdrRpcMethodDef py_ndr_irpc_methods[];
+
 static bool server_id_from_py(PyObject *object, struct server_id *server_id)
 {
        if (!PyTuple_Check(object)) {
index 55eb6184267cf1b60c339a791ac50771089f8b8a..fc9c4a94b56717f9483b85dbfb332106dcf2048f 100644 (file)
@@ -27,8 +27,6 @@
 #include <Python.h>
 #include "pyldb.h"
 #include "libcli/util/pyerrors.h"
-#include "librpc/gen_ndr/py_misc.h"
-#include "librpc/gen_ndr/py_security.h"
 #include "libcli/security/security.h"
 #include "auth/pyauth.h"