Lines Matching defs:pPlugin
72 Slapi_PBlock *pPlugin = NULL;
80 pPlugin = slapi_pblock_new();
81 if ( pPlugin == NULL ) {
86 slapi_pblock_set( pPlugin, SLAPI_PLUGIN_TYPE, (void *)&type );
87 slapi_pblock_set( pPlugin, SLAPI_PLUGIN_ARGC, (void *)&argc );
101 slapi_pblock_set( pPlugin, SLAPI_PLUGIN_ARGV, (void *)ppPluginArgv );
102 slapi_pblock_set( pPlugin, SLAPI_X_CONFIG_ARGV, (void *)av2 );
104 rc = slapi_int_load_plugin( pPlugin, path, initfunc, 1, NULL, &hdLoadHandle );
109 if ( slapi_pblock_get( pPlugin, SLAPI_PLUGIN_DESCRIPTION, (void **)&pPluginDesc ) == 0 &&
120 if ( rc != 0 && pPlugin != NULL ) {
121 slapi_pblock_destroy( pPlugin );
122 pPlugin = NULL;
128 return pPlugin;
520 * pPlugin - a pointer to a Slapi_PBlock struct which will be passed to
539 Slapi_PBlock *pPlugin,
572 rc = ( *fpInitFunc )( pPlugin );
680 Slapi_PBlock *pPlugin;
682 pPlugin = plugin_pblock_new( iType, numPluginArgc, argv );
683 if (pPlugin == NULL) {
688 rc = slapi_int_register_extop(be, &pGExtendedOps, pPlugin);
690 slapi_pblock_destroy( pPlugin );
695 rc = slapi_int_register_plugin( be, pPlugin );
698 slapi_int_unregister_extop( be, &pGExtendedOps, pPlugin );
700 slapi_pblock_destroy( pPlugin );