#include <stdint.h>
#include <stdbool.h>
#include "talloc.h"
-#include "events.h"
#include "ldb.h"
#include "ldb_errors.h"
#include "ldb_private.h"
+#include "events.h"
typedef struct ldb_message ldb_msg;
typedef struct ldb_context ldb;
PyObject *PyExc_LdbError;
-SWIGINTERN ldb *new_ldb(){ return ldb_init(NULL, NULL); }
+SWIGINTERN ldb *new_ldb(){
+ return ldb_init(NULL, event_context_init(NULL));
+ }
SWIGINTERN int
SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)