]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/pythonfd.c
Loose #ifdef and use const bool wrapper for some cleaner coding.
[bacula/bacula] / bacula / src / filed / pythonfd.c
index d9c1841394cf0c5aedb6ebf95143cadaa139506a..77240409ee7429a714b7e2f8678121411a822c45 100644 (file)
 #undef _POSIX_C_SOURCE
 #include <Python.h>
 
-
-extern JCR *get_jcr_from_PyObject(PyObject *self);
-extern PyObject *find_method(PyObject *eventsObject, PyObject *method, 
-          const char *name);
+#include <lib/pythonlib.h>
 
 /* Forward referenced functions */
 static PyObject *set_job_events(PyObject *self, PyObject *arg);