~ubuntu-branches/debian/sid/openchange/sid

« back to all changes in this revision

Viewing changes to mapiproxy/libmapiproxy/dcesrv_mapiproxy_module.c

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-12 20:07:57 UTC
  • mfrom: (11 sid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20120412200757-k933d9trljmxj1l4
Tags: 1:1.0-4
* openchangeserver: Add dependency on openchangeproxy.
* Rebuild against newer version of Samba 4.
* Use dpkg-buildflags.
* Migrate to Git, update Vcs-Git header.
* Switch to debhelper 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
 
207
207
_PUBLIC_ NTSTATUS mapiproxy_module_init(struct dcesrv_context *dce_ctx)
208
208
{
209
 
        init_module_fn                  *mpm;
 
209
        openchange_plugin_init_fn *mpm;
210
210
        NTSTATUS                        ret;
211
211
 
212
 
        mpm = load_samba_modules(NULL, "dcerpc_mapiproxy");
213
 
 
214
 
        run_init_functions(mpm);
 
212
        mpm = load_openchange_plugins(NULL, "dcerpc_mapiproxy");
 
213
 
 
214
        if (mpm != NULL) {
 
215
                int i;
 
216
                for (i = 0; mpm[i]; i++) { mpm[i](); }
 
217
        }
 
218
 
215
219
        talloc_free(mpm);
216
 
        
 
220
 
217
221
        ret = mapiproxy_module_load(dce_ctx);
218
222
 
219
223
        return ret;