X-Git-Url: http://git.samba.org/samba.git/?p=bbaumbach%2Fsamba-autobuild%2F.git;a=blobdiff_plain;f=source4%2Flib%2Fappweb%2Fmpr%2FminiMpr.c;fp=source4%2Flib%2Fappweb%2Fmpr%2FminiMpr.c;h=52b23608aa7e403846355e4be88c67c2b747f35b;hp=949d64fcf11f0ed3751e7d01d3c19fecff0e9138;hb=e11c61bc5cd487dce06fc38bb0ee8c4e24b04e8c;hpb=3c20b3eebafe46127a7b69cca573c6a128f8de89 diff --git a/source4/lib/appweb/mpr/miniMpr.c b/source4/lib/appweb/mpr/miniMpr.c index 949d64fcf11..52b23608aa7 100644 --- a/source4/lib/appweb/mpr/miniMpr.c +++ b/source4/lib/appweb/mpr/miniMpr.c @@ -30,6 +30,7 @@ */ #include "miniMpr.h" +#include "param/param.h" /************************************ Code ************************************/ #if !BLD_APPWEB @@ -49,6 +50,12 @@ void *mprMemCtx(void) return mpr_ctx; } +/* return the loadparm context being used for all ejs variables */ +struct loadparm_context *mprLpCtx(void) +{ + return global_loadparm; +} + void mprFree(void *ptr) { talloc_free(ptr);