diff options
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm_ctx.c | 4 | ||||
-rw-r--r-- | source3/param/pyparam.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c index 437ce43506..9c78f15879 100644 --- a/source3/param/loadparm_ctx.c +++ b/source3/param/loadparm_ctx.c @@ -60,7 +60,7 @@ static bool lp_load_for_s4_ctx(const char *filename) * All of the s4 loadparm functions should be here eventually, once * they are implemented in the s3 loadparm, have the same format (enum * values in particular) and defaults. */ -static const struct loadparm_s3_context s3_fns = +static const struct loadparm_s3_helpers s3_fns = { .get_parametric = lp_parm_const_string_service, .get_parm_struct = lp_get_parameter, @@ -117,7 +117,7 @@ static const struct loadparm_s3_context s3_fns = .passwordserver = lp_passwordserver }; -const struct loadparm_s3_context *loadparm_s3_context(void) +const struct loadparm_s3_helpers *loadparm_s3_helpers(void) { return &s3_fns; } diff --git a/source3/param/pyparam.c b/source3/param/pyparam.c index ff234ac918..ddd17ca4b5 100644 --- a/source3/param/pyparam.c +++ b/source3/param/pyparam.c @@ -30,7 +30,7 @@ void initparam(void); static PyObject *py_get_context(PyObject *self) { PyObject *py_loadparm; - const struct loadparm_s3_context *s3_context; + const struct loadparm_s3_helpers *s3_context; const struct loadparm_context *s4_context; TALLOC_CTX *mem_ctx; @@ -40,7 +40,7 @@ static PyObject *py_get_context(PyObject *self) return NULL; } - s3_context = loadparm_s3_context(); + s3_context = loadparm_s3_helpers(); s4_context = loadparm_init_s3(mem_ctx, s3_context); if (s4_context == NULL) { |