Home | History | Annotate | Download | only in mod_ecs

Lines Matching defs:dlhandle

368 static void dummy (ap_os_dso_handle_t dlhandle)
372 static void slib_cleanup (ap_os_dso_handle_t dlhandle)
375 if ((cleanupFunc = (CleanupFunc)ap_os_dso_sym(dlhandle, ECSCleanUp))) {
378 ap_os_dso_unload(dlhandle);
380 fprintf(stderr, "Unloading handle %d", dlhandle);
410 ap_os_dso_handle_t dlhandle;
413 if ((dlhandle = ap_os_dso_load(arg)) == NULL) {
417 if ((init_func = (InitFunc)ap_os_dso_sym(dlhandle, ECSInit))) {
421 ap_register_cleanup (cls->deplibs->pool, dlhandle, slib_cleanup, slib_cleanup);
425 entry->dlib = dlhandle;
433 ap_os_dso_handle_t dlhandle;
457 if ((dlhandle = ap_os_dso_load(entry->libpath)) == NULL) {
461 if (entry->dlib == dlhandle)
466 if ((init_func = (InitFunc)ap_os_dso_sym(dlhandle, ECSInit))) {
469 if (!(wrap_init = (WrapInitFunc)ap_os_dso_sym(dlhandle, WrapInit))) {
471 ap_os_dso_unload(dlhandle);
474 if (!(cgi_main = (CGIMainFunc)ap_os_dso_sym(dlhandle, CGIMain))) {
476 ap_os_dso_unload(dlhandle);
481 ap_register_cleanup (p, dlhandle, slib_cleanup, dummy);
483 entry->dlib = dlhandle;
488 fprintf (stderr, "%sLoaded library %s [%d]\n", prefix, entry->libpath, dlhandle);