#include "lib/talloc/pytalloc.h"
#include "dynconfig/dynconfig.h"
+void initparam(void);
+
/* There's no Py_ssize_t in 2.4, apparently */
#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
typedef int Py_ssize_t;
extern PyTypeObject PyLoadparmContext;
extern PyTypeObject PyLoadparmService;
-PyObject *PyLoadparmService_FromService(struct loadparm_service *service)
+static PyObject *PyLoadparmService_FromService(struct loadparm_service *service)
{
return py_talloc_reference(&PyLoadparmService, service);
}
#include <Python.h>
#include "includes.h"
#include "param/param.h"
+#include "param/pyparam.h"
#include "param/loadparm.h"
#include "lib/talloc/pytalloc.h"
#include "param/share.h"
#include "param/param.h"
+NTSTATUS share_classic_init(void);
+
static NTSTATUS sclassic_init(TALLOC_CTX *mem_ctx,
const struct share_ops *ops,
struct tevent_context *event_ctx,
#include "param/share.h"
#include "param/param.h"
+NTSTATUS share_ldb_init(void);
+
static NTSTATUS sldb_init(TALLOC_CTX *mem_ctx, const struct share_ops *ops,
struct tevent_context *ev_ctx,
struct loadparm_context *lp_ctx,